tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Chan <ben.chan...@gmail.com>
Subject Strange Problem on SSL with tomcat
Date Wed, 22 Dec 2004 03:38:44 GMT
Hi all,

I have a strange problem when I configure the tomcat running SSL.

I have created the keystore file in / following the steps in
documentation. And also uncomment the tag inside server.xml. I tried
to start the tomcat, the SSL work fine in my old tomcat 4.1.18. But it
cannot work in tomcat 4.1.31 and 5.0.28 with the same keystore file
since I wanna upgrade my tomcat version. I dont know what cause this
problem. Pls help me THX

When I analysis the catalina.out file, I found when the SSL cannot
work, the below message showed:-

java.io.IOException: Keystore was tampered with, or password was incorrect
       at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:748)
       at java.security.KeyStore.load(KeyStore.java:652)
       at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:278)
       at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustStore(JSSESocketFactory.java:254)
       at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getTrustManagers(JSSE14SocketFactory.java:176)
       at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:109)
       at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:88)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:259)
       at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
       at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1238)
       at org.apache.catalina.core.StandardService.initialize(StandardService.java:532)
       at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2199)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:462)
       at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
       at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

Ben Chan

---------------------------------------------------------------------
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