File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes SSL configuration problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SSL configuration problem" Watch "SSL configuration problem" New topic
Author

SSL configuration problem

Rajnikant Prabhu
Greenhorn

Joined: Mar 11, 2004
Posts: 3
Hi i followed the steps of configuring SSL on port 8443 as meantionrd in tomcat documentation .This is my server.xml
<Connector port="8443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
keystoreFile="C:\Documents and Settings\keystore\keystore.jks"
keystorePass="changeit"
clientAuth="false" sslProtocol="TLS" />

I checked that .keystore file is located correctly in the folder mentioned in keystorefile in server.xml

But when i start tomcat i get following error
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
[ERROR] Http11Protocol - -Error initializing socket factory <java.lang.ClassNotF
oundException: Can't find any SSL implementation>java.lang.ClassNotFoundExceptio
n: Can't find any SSL implementation
at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplement
ation.java:100)
at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplement
ation.java:106)
at org.apache.coyote.http11.Http11Protocol.checkSocketFactory(Http11Prot
ocol.java:797)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:166)
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
java:1445)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:648)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:2416)
at org.apache.catalina.startup.Catalina.load(Catalina.java:545)
at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
[ERROR] Catalina - -Catalina.start <LifecycleException: Protocol handler initia
lization failed: java.lang.ClassNotFoundException: Can't find any SSL implementa
tion>LifecycleException: Protocol handler initialization failed: java.lang.Clas
sNotFoundException: Can't find any SSL implementation
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
java:1447)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:648)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:2416)
at org.apache.catalina.startup.Catalina.load(Catalina.java:545)
at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
[INFO] Catalina - -Initialization processed in 2685 ms
and 8080 starts fine..
Can anyone help me please?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSL configuration problem