Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL configuration problem

 
Rajnikant Prabhu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic