Probably the first thing you need to do is to read the ssl-howto in the Tomcat documentation. After that you will probably realize that you forgot to set the 'keystoreFile' and 'keystorePass' attributes on the Connector ;-)
"Mirna Misere" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Does anyone have a solution to this problem? I would appreciate the help. I can't resolve the problem with TOMCAT connector. I get the following error "java.io.IOException: Cannot recover key" The keytool execution finalized succefull. Calling from browser the link https://<server_name>:8443 doesn't display dspace page. - environment : JAVA_HOME=/usr/local/j2sdk1.4.2_02 JAVA_JRE=/usr/local/j2sdk1.4.2_02/jre CATALINA_HOME=/usr/local/tomcat-5 JSSE_HOME=$JAVA_HOME/jre/lib CLASSPATH=.:${JAVA_HOME}/lib:${ANT_HOME}/lib:${JAVA_HOME}/jre/lib:/lib:/dspa ce/lib PSQL_HOME=/usr/local/pgsql LD_LIBRARY_PATH=/usr/local/pgsql/lib:/dspace/lib - /usr/local/tomcat-5/conf/server.xml <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 (Mx) --> <Connector port="8443" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" debug="0" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> - /usr/local/tomcat-5/logs/catalina.out SEVERE: Error starting endpoint java.io.IOException: Cannot recover key at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory .java:151) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFac tory.java:127) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java :281) at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.jav a:303) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:217) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1396) at org.apache.catalina.core.StandardService.start(StandardService.java:528) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2343) at org.apache.catalina.startup.Catalina.start(Catalina.java:580) 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.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) Dec 11, 2003 1:18:34 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: Protocol handler start failed: java.io.IOException: Cannot recover key at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1398) at org.apache.catalina.core.StandardService.start(StandardService.java:528) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2343) at org.apache.catalina.startup.Catalina.start(Catalina.java:580) 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.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397) Dec 11, 2003 1:18:34 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 27788 ms Kind regards, Tom De Mulder <[EMAIL PROTECTED]> Para: Mirna Misere <[EMAIL PROTECTED]> cc: 13/11/2003 08:55 Asunto: Re: Question - webapp module a.m. On Wed, 12 Nov 2003, Mirna Misere wrote: >Thank for you response, now I have other problem, when I tried to >configure tomcat to work with SSL, I followed the >instruction in server.xml to generate a server certificate. When I run the >command : > "keytool -genkey -alias tomcat -keyalg RSA", it gives me the above error. >JAVA_HOME=/usr/local/jdk1.2.2 You're running a version of Java that is too old. Install Java 1.4 or higher, because that's the only version that has SSL included. >Other question, dspace have other languages, spanich for example. Not yet. Currently if you want DSpace in another language, you have to translate it yourself. Kind regards, -- Tom De Mulder <[EMAIL PROTECTED]> - Cambridge University Computing Service DSpace @ Cambridge ->13/11/2003 : The Moon is Waning Gibbous (77% of Full) =============================================================== Este mensaje y sus anexos son confidenciales y de uso exclusivo de las personas a las que est� dirigido. En caso de que ud. recibiera �ste correo por error no podr� modificar, copiar o distribuir parte o la totalidad del mismo; asimismo le solicitamos que notifique tal situaci�n al emisor y que que tenga a bien eliminarlo de su sistema. El emisor no acepta responsabilidades por errores u omisiones en el contenido de �ste correo dado que Internet no garantiza la seguridad y exactitud de las comunicaciones. Las opiniones vertidas en este correo son exclusivas de su autor y no representan la opini�n del Banco Galicia. = --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
