Unable to start Tomcat in SSL mode?
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hello All,
I'm trying to setup SSL mode in Tomcat and followed the documentation given in Apache site. But unforutunately I could not start it in https. Could you please advice what I'm missing here.
server.xml
I also have my keystore created using keytool and provided the path in server.xml
After the restart of the server, when I try to access https://localhost:8443 I get page can not be displayed.
When I look into the logs
I see that the protocol specified in server.xml is used but, not sure why it is not starting in https mode.
Any advice.
I'm trying to setup SSL mode in Tomcat and followed the documentation given in Apache site. But unforutunately I could not start it in https. Could you please advice what I'm missing here.
server.xml
I also have my keystore created using keytool and provided the path in server.xml
After the restart of the server, when I try to access https://localhost:8443 I get page can not be displayed.
When I look into the logs
I see that the protocol specified in server.xml is used but, not sure why it is not starting in https mode.
Any advice.
Regards
KumarRaja
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Any help ?
Regards
KumarRaja
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
The server didn't start up with SSL - are you sure that you did save your server.xml, and it was in the right one you did the changes ??
You should get this output in the server log - where you can see that both 8080 and 8443 is started:
You should get this output in the server log - where you can see that both 8080 and 8443 is started:
Regards, Rene Larsen
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Ok,
I thought I saved the changes I made to server.xml, but in fact not. Now I saved my changes, copied JSSE libraries (jcert.jar,jnet.jar,jsse.jar) to TOMCAT_HOME/lib location and have my Keystore copied to $USER.HOME as mentioned in server.xml. But after I restarted the Tomcat, I'm getting below exception
What could I be missing here?
My server.xml is as follows
I thought I saved the changes I made to server.xml, but in fact not. Now I saved my changes, copied JSSE libraries (jcert.jar,jnet.jar,jsse.jar) to TOMCAT_HOME/lib location and have my Keystore copied to $USER.HOME as mentioned in server.xml. But after I restarted the Tomcat, I'm getting below exception
What could I be missing here?
My server.xml is as follows
Regards
KumarRaja
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I think I got this straightened. My keystore and private key passwords were not matching and Tomcat documentation has a clear explanation on this, which I have not looked into earlier.
Now I'm able to run my tomcat in https..
Now I'm able to run my tomcat in https..

Regards
KumarRaja
| That new kid is a freak. Show him this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |







