To achieve this I have created a key store and I have imported the CA certificate into it and changed some configurations in server.xml file. I have also given Key store path and key store password. After restarting the server, I was able to browse the URL with HTTPS, but it is throwing an error saying "this certificate is invalid". As per my understanding, it is taking the key store private key certificate instead of CA certificate which is incorrect. Can some please advise me how to solve this issue?
Is there any other procedure we need to follow to implement this when we have Root certs and Env certificates.
added to Server.xml:
<Connector port="8180" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"/>
<Connector SSLEnabled="true" acceptCount="100" clientAuth="false"