You're probably running on win32. If you look in SSLSocketFactory at
the default key reference you will find that it uses a / vs a \
you'll want to change it to System.getParameter("file.separator")
so that the code is plaform independent. Recompile, put in place
and you're off and running.
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 26, 2000 9:30 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat - SSL help
>
> Hi All,
> I am using Tomcat3.2b6 with SSL. I followed the steps given in
> Server.xml.
> 1)Added JSSE jars to classpath
> 2)Edited java.security
> 3)Generated keystore
>
> While trying to start Tomcat server, I am getting following error.
> --------------------------------------------------------------------
> 2000-10-26 09:51:20 - ContextManager: Adding context Ctx( /examples )
> 2000-10-26 09:51:20 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2000-10-26 09:51:20 - ContextManager: Adding context Ctx( )
> 2000-10-26 09:51:20 - ContextManager: Adding context Ctx( /test )
> 2000-10-26 09:51:20 - PoolTcpConnector: Starting HttpConnectionHandler on
> 8080
> FATAL:java.io.IOException: Cannot recover key
> java.io.IOException: Cannot recover key
> at
> org.apache.tomcat.net.SSLSocketFactory.initProxy(SSLSocketFactory.jav
> a:191)
> at
> org.apache.tomcat.net.SSLSocketFactory.createSocket(SSLSocketFactory.
> java:118)
> at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
> nt.java:239)
> at
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
> a:188)
> at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:516)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:204)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:237)
> -------------------------------------------------------------------
> Could any one help me, what is the problem.
>
> Thanks,
> nell
>
>
> _______________________________________
> CoolEmail -- Now you're talking.
> Get Free Email-By-Phone Today.
> http://www.CoolEmail.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]