HTTPS Tomcat setup

270 Views Asked by At

I am trying to configure https in my tomcat. I have gone through many blogs and generated key store file and added the following tag in the server.xml.

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
              connectionTimeout="20000" maxThreads="150" scheme="https" secure="true"
              clientAuth="false" sslProtocol="TLS" keystoreFile="../webapps/easwarkey.bin" keystorePass="easwar"/>

Also I left the tag with 8081 port as it is.

<Connector port="8081" protocol="HTTP/1.1" 
           connectionTimeout="20000" 
           redirectPort="8443" />

But when i start the server. I can able to see the home page of the tomcat @ http://localhost:8081/

But nothing @ https://localhost:8443

Could you please mention what has to be done other than this.

Thanks in advance, Easwar

0

There are 0 best solutions below