cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installation of SSL certificate in tomcat8 not working

Hi, I am trying to install SSL on tomcat for a couple of days now but it did work well for me.

I follow this guide and successfully imported into keystore.
I tried to check via localhost and it works perfectly although it says connection is not secure. (I checked SSL certificate and it says certificate is ok, including root and intermediate)

But whenever I tried accessing my hosted site via HTTPS (It will also redirect to HTTPS though), It never load until it gives an error site cannot be reached.

I modified the webapp also:

<security-constraint>
<web-resource-collection>
<web-resource-name>PBS300</web-resource-name>
<url-pattern>/Kernel.risc</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>

Obviously it will redirect to https, and it does.
But only the URL changed, the site says xx.xx.xx.xx took too long to respond.

Please guide, thanks.