Thanks everyone. There were two problems... the first being that:
1. Use the full path 2. The keystore password and the key password needs to be the same! I used the following command to change it: keytool -keypasswd -alias tomcat -keystore ssl-keystore "One City Summer Fun ... Something for Everyone" Mayor Gray's comprehensive summer program with fun activities, events and services for residents of all ages For more information visit www.onecitysummer.dc.gov or call 311 -----Original Message----- From: Diep, David (OCTO-Contractor) Sent: Thursday, August 18, 2011 4:33 PM To: Tomcat Users List Subject: RE: Tomcat 6 getting error when trying to specify keystore Hey Renu, Thanks for responding... I stated the full path. There is a different error in the log now... as it cannot recover the key. <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="443" /> <!-- SSL Connector on Port 443 --> <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" keystoreFile="C:\Program Files\Apache Software Foundation\Tomcat 6.0\certs\keystore.jks" keystorePass="changeit" clientAuth="false" sslProtocol="TLS" /> ug 18, 2011 4:31:58 PM org.apache.coyote.http11.Http11Protocol start SEVERE: Error starting endpoint java.io.IOException: Cannot recover key at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:465) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:130) at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538) at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203) at org.apache.catalina.connector.Connector.start(Connector.java:1087) at org.apache.catalina.core.StandardService.start(StandardService.java:534) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Aug 18, 2011 4:31:58 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.io.IOException: Cannot recover key at org.apache.catalina.connector.Connector.start(Connector.java:1094) at org.apache.catalina.core.StandardService.start(StandardService.java:534) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Aug 18, 2011 4:31:58 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 591 ms ________________________________________ From: RenuKumar [r...@dbxpert.com.my] Sent: Thursday, August 18, 2011 2:30 PM To: Tomcat Users List Subject: Re: Tomcat 6 getting error when trying to specify keystore Hi Please state the full path in the server.xml file that should fix the problem. Diep, David (OCTO-Contractor) wrote: >Hello, > >I get the following in my logs during startup: > >Aug 18, 2011 1:57:45 PM org.apache.catalina.startup.Catalina start >SEVERE: Catalina.start: >LifecycleException: service.getName(): "Catalina"; Protocol handler start >failed: java.io.FileNotFoundException: C:\Program Files\Apache Software >Foundation\Tomcat 6.0\cert\keystore.jks (The system cannot find the path >specified) > at > org.apache.catalina.connector.Connector.start(Connector.java:1094) > at > org.apache.catalina.core.StandardService.start(StandardService.java:534) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at > org.apache.catalina.startup.Catalina.start(Catalina.java:581) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) >Aug 18, 2011 1:57:45 PM org.apache.catalina.startup.Catalina start >INFO: Server startup in 573 ms > > >This is my server.xml... I cannot seem to get past this, I've tried multiple >iterations everywhere from Verisign to Apache guides... Any help would be >awesome! > > <Connector port="80" protocol="HTTP/1.1" > connectionTimeout="20000" > redirectPort="443" /> > > <!-- SSL Connector on Port 443 --> > > <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" > maxThreads="150" scheme="https" secure="true" > keystoreFile="/cert/keystore.jks" keystorePass="xxxxx" > clientAuth="false" sslProtocol="TLS" /> > > > > > > >"One City Summer Fun ... Something for Everyone" >Mayor Gray's comprehensive summer program with fun activities, events and >services for residents of all ages >For more information visit >www.onecitysummer.dc.gov<http://www.onecitysummer.dc.gov> or call 311 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org