Re: problem of setting up ssl in tomcat 5.5.9
I am not sure if anyone has replied to you on this.. At least from what I understand, the error below means is that the certificate file server.pem is not found as specified in the server.xml (configuration file) entry. You will find the server.xml file in the conf folder (under tomcat installed directory) and search for server.pem. Then verify if the path that is specified in server.xml to server.pem is valid or not. See if it helps. Siddhartha zhou jian <[EMAIL PROTECTED]> wrote: Jan 11, 2006 2:59:44 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 11, 2006 2:59:44 PM org.apache.tomcat.util.net.puretls.PureTLSSocketFactory init INFO: Error initializing SocketFactory java.io.FileNotFoundException: server.pem (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at COM.claymoresystems.ptls.SSLContext.loadEAYKeyFile(SSLContext.java:200) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.init(PureTLSSocketFactory.java:134) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.createSocket(PureTLSSocketFactory.java:69) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142) at org.apache.catalina.connector.Connector.initialize(Connector.java:928) at org.apache.catalina.core.StandardService.initialize(StandardService.java:580) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764) at org.apache.catalina.startup.Catalina.load(Catalina.java:490) at org.apache.catalina.startup.Catalina.load(Catalina.java:509) 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:585) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408) Jan 11, 2006 2:59:44 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.IOException: server.pem (No such file or directory) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.init(PureTLSSocketFactory.java:149) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.createSocket(PureTLSSocketFactory.java:69) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142) 1,1 Top --- zhou jian wrote: > Hello everyone, > > I want to configure the SSL in tomcat5 and I > followed > the following instructions: > http://tomcat.apache.org/tomcat-5.0-doc/printer/ssl-howto.html > > However, after starting the tomcat without any > problem. > > [EMAIL PROTECTED] bin]$ ps aux | grep java > globus4 2668 2.2 6.2 296704 64436 pts/1 S > 17:07 0:11 /opt/jdk1.5.0_04//bin/java > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.endorsed.dirs=/home/globus4/jakarta-tomcat-5.5.9/common/endorsed > -classpath > :/home/globus4/jakarta-tomcat-5.5.9/bin/bootstrap.jar:/home/globus4/jakarta-tomca > globus4 3137 0.0 0.0 3580 636 pts/1 S > 17:15 0:00 grep java > > However, I could access with https://localhost:8443. > I > am using jdk1.5.0_04. The only step I skipped is > JSSE. > Do you have any ideas? > > Thanks, > --Paul > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Photos Showcase holiday pictures in hardcover Photo Books. You design it and well bind it!
Re: problem of setting up ssl in tomcat 5.5.9
Jan 11, 2006 2:59:44 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 11, 2006 2:59:44 PM org.apache.tomcat.util.net.puretls.PureTLSSocketFactory init INFO: Error initializing SocketFactory java.io.FileNotFoundException: server.pem (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at COM.claymoresystems.ptls.SSLContext.loadEAYKeyFile(SSLContext.java:200) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.init(PureTLSSocketFactory.java:134) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.createSocket(PureTLSSocketFactory.java:69) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142) at org.apache.catalina.connector.Connector.initialize(Connector.java:928) at org.apache.catalina.core.StandardService.initialize(StandardService.java:580) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764) at org.apache.catalina.startup.Catalina.load(Catalina.java:490) at org.apache.catalina.startup.Catalina.load(Catalina.java:509) 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:585) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408) Jan 11, 2006 2:59:44 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.IOException: server.pem (No such file or directory) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.init(PureTLSSocketFactory.java:149) at org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.createSocket(PureTLSSocketFactory.java:69) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142) 1,1 Top --- zhou jian <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I want to configure the SSL in tomcat5 and I > followed > the following instructions: > http://tomcat.apache.org/tomcat-5.0-doc/printer/ssl-howto.html > > However, after starting the tomcat without any > problem. > > [EMAIL PROTECTED] bin]$ ps aux | grep java > globus4 2668 2.2 6.2 296704 64436 pts/1 S > 17:07 0:11 /opt/jdk1.5.0_04//bin/java > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.endorsed.dirs=/home/globus4/jakarta-tomcat-5.5.9/common/endorsed > -classpath > :/home/globus4/jakarta-tomcat-5.5.9/bin/bootstrap.jar:/home/globus4/jakarta-tomca > globus4 3137 0.0 0.0 3580 636 pts/1S > 17:15 0:00 grep java > > However, I could access with https://localhost:8443. > I > am using jdk1.5.0_04. The only step I skipped is > JSSE. > Do you have any ideas? > > Thanks, > --Paul > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem of setting up ssl in tomcat 5.5.9
Hello everyone, I want to configure the SSL in tomcat5 and I followed the following instructions: http://tomcat.apache.org/tomcat-5.0-doc/printer/ssl-howto.html However, after starting the tomcat without any problem. [EMAIL PROTECTED] bin]$ ps aux | grep java globus4 2668 2.2 6.2 296704 64436 pts/1 S 17:07 0:11 /opt/jdk1.5.0_04//bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/home/globus4/jakarta-tomcat-5.5.9/common/endorsed -classpath :/home/globus4/jakarta-tomcat-5.5.9/bin/bootstrap.jar:/home/globus4/jakarta-tomca globus4 3137 0.0 0.0 3580 636 pts/1S 17:15 0:00 grep java However, I could access with https://localhost:8443. I am using jdk1.5.0_04. The only step I skipped is JSSE. Do you have any ideas? Thanks, --Paul __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]