tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sánchez Gómez <danisn...@yahoo.es>
Subject Re: Tomcat 5 SSL problem
Date Fri, 27 Aug 2004 17:23:37 GMT
Hola Frank,

I'm doing it too. My server.xml configuration is:
     <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
           port="8443" minProcessors="5" maxProcessors="75"
           enableLookups="true" disableUploadTimeout="true"
           acceptCount="100" debug="0" scheme="https" secure="true"
                   keystoreFile="e:\java\pruebas\WSOverSSL\server.keystore"
                   keystorePass="changeit"
           clientAuth="true" sslProtocol="TLS"/>

I  don't  know  if it's the best but the Tomcat Run. Now I'm trying to
indetify/authentificate my WS-Client.



Con fecha viernes, 27 de agosto de 2004, 19:09:03, escribiste:

FZ> Hello all.  I'm trying to get SSL working on my Tomcat 5.0.27 instance...
FZ> I've read all the how-to's and spent an hour Googling, but I can't get past
FZ> an issue I'm having...

FZ> I have the following entry in my server.xml:

FZ>   <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
FZ>   port="8443" minProcessors="5" maxProcessors="75"
FZ>   enableLookups="true"
FZ>   acceptCount="100" debug="0" scheme="https" secure="true"
FZ>   useURIValidationHack="false" disableUploadTimeout="true">
FZ>   <Factory
FZ> className="org.apache.coyote.tomcat5.CoyoteServerSocketFactory"
FZ>   keystoreFile="c:\tomcat\.keystore" keystorePass="my_password"
FZ>   clientAuth="false" protocol="TLS" />
FZ>   </Connector>

FZ> The keystore file is there, and I believe generated properly, as per the
FZ> how-to instructions.  When I start Tomcat however, I get the following
FZ> exception:

FZ>   [INFO] Http11Protocol - Initializing Coyote HTTP/1.1 on http-8181
FZ>   [ERROR] Http11Protocol - Error initializing socket factory 
FZ> <java.lang.ClassNotFo
FZ>   undException: Can't find any SSL 
implementation>>java.lang.ClassNotFoundException
FZ>   : Can't find any SSL implementation
FZ>           at 
FZ> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplement
FZ>   ation.java:57)
FZ>           at 
FZ> org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplement
FZ>   ation.java:63)
FZ>           at 
FZ> org.apache.coyote.http11.Http11Protocol.checkSocketFactory(Http11Prot
FZ>   ocol.java:770)
FZ>           at 
FZ> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:119)

FZ>           at 
FZ> org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
FZ>   java:1429)
FZ>           at 
FZ> org.apache.catalina.core.StandardService.initialize(StandardService.j
FZ>   ava:609)
FZ>           at 
FZ> org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
FZ>   a:2384)
FZ>           at
FZ> org.apache.catalina.startup.Catalina.load(Catalina.java:507)
FZ>           at
FZ> org.apache.catalina.startup.Catalina.load(Catalina.java:528)
FZ>           at java.lang.reflect.Method.invoke(Native Method)
FZ>           at
FZ> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
FZ>           at
FZ> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421)

FZ>   [ERROR] Catalina - Catalina.start <LifecycleException:  Protocol handler
FZ> initial
FZ>   ization failed: java.lang.ClassNotFoundException: Can't find any SSL
FZ> implementat
FZ>   ion>LifecycleException:  Protocol handler initialization failed:
FZ> java.lang.Class
FZ>   NotFoundException: Can't find any SSL implementation
FZ>           at 
FZ> org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
FZ>   java:1431)
FZ>           at 
FZ> org.apache.catalina.core.StandardService.initialize(StandardService.j
FZ>   ava:609)
FZ>           at 
FZ> org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
FZ>   a:2384)
FZ>           at
FZ> org.apache.catalina.startup.Catalina.load(Catalina.java:507)
FZ>           at
FZ> org.apache.catalina.startup.Catalina.load(Catalina.java:528)
FZ>           at java.lang.reflect.Method.invoke(Native Method)
FZ>           at
FZ> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
FZ>           at
FZ> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421)

FZ> Tomcat DOES continue to run, but obviously without SSL working.  Any ideas?
FZ> Thanks all!

FZ> Frank W. Zammetti
FZ> Founder and Chief Software Architect
FZ> Omnytex Technologies
FZ> www.omnytex.com

FZ> _________________________________________________________________
FZ> Get ready for school! Find articles, homework help and more in the Back to
FZ> School Guide! http://special.msn.com/network/04backtoschool.armx


FZ> ---------------------------------------------------------------------
FZ> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FZ> For additional commands, e-mail:
FZ> tomcat-user-help@jakarta.apache.org



-- 
Saludos,
 Daniel                            mailto:danisnchz@yahoo.es


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message