I want to configure SSL on my Tomcat which is running locally on windows operating system. I tried creating a self signed digital certificate, added the same in Tomcat's server.xml but still I am not able to run my local host as following.

https://localhost:8443 or https://localhost

any idea, what I am missing?

link|improve this question
What does the logfile say? Does netstat -a -n list port 8443 or 443 as LISTENING? What does your server.xml file look like exactly? (delete excessive comments to make it more readable) – Hendrik Brummermann Dec 3 '11 at 13:16
Thanks for responding. I am not able to see 8443 or 443 ports as active one. This is the snippet of the Server.xml <Connector port="8443" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="../webapps/xxx.bin" keystorePass="xxx" /> – p_upadhyay Dec 3 '11 at 13:56
Try to use an absolute path for the keyStore file (and change the password after you posted it). What about the logfiles and the netstat output? – Hendrik Brummermann Dec 3 '11 at 13:58
NetStat OutPut: TCP 0.0.0.0:8443 0.0.0.0:0 LISTENING – p_upadhyay Dec 3 '11 at 14:01
LogFile:--- Dec 3, 2011 4:34:59 PM org.apache.struts.action.ActionServlet initChain INFO: Loading chain catalog from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps‌​/www/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xml Dec 3, 2011 4:34:59 PM org.apache.commons.digester.Digester startElement SEVERE: Begin event threw exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) – p_upadhyay Dec 3 '11 at 14:04
feedback

migrated from security.stackexchange.com Dec 4 '11 at 16:23

This question came from our site for IT security professionals.

1 Answer

Thanks you guys. You can close this thread. I was able to solve it. will share the solution details.

link|improve this answer
Please do share your solution, that's the whole point of the Stack Exchange network - to share knowledge. This isn't very helpful at the moment. – Ben Pilbrow Dec 4 '11 at 21:50
Sure. I understand Ben. – p_upadhyay Dec 5 '11 at 6:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.