tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: [URGENT] Tomcat SSL crash on start-up
Date Thu, 23 Oct 2003 02:32:21 GMT
You are missing 'keystoreFile="/path/to/servercerts.ks"' in the Factory
element.

"Bruno Morin" <bruno.morin@atosorigin.com> wrote in message
news:05be01c398b3$58aa2760$34040237@US.ORACLE.COM...
> Hi,
>
> I tried to configure Tomcat 4.1.27 with SSL
>
> I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in
> JAVA_HOME/jre/lib/ext/
> I had "security.provider.3=com.sun.net.ssl.internal.ssl.Provider" in
> JAVA_HOME/jre/lib/ext/java.security
>
>
> Then I generate a certificate whith those instructions :
> keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks
> keytool -export -rfc -alias server -keystore servercerts.ks -file
> server.cert
> keytool -import -file server.cert -keystore client.ks
> and put servercerts.ks in CATALINA_HOME
>
>
> Then I modified the connector in CATALINA_HOME/conf/server.xml like this :
> <Connector className="org.apache.catalina.connector.http.HttpConnector"
>
> port="8443" minProcessors="5" maxProcessors="75"
>
> enableLookups="true" acceptCount="10" debug="0" scheme="https"
> secure="true">
>
> <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
>
> clientAuth="false"
>
> protocol="TLS"
>
> keystorePass="serverpassword"/>
>
> </Connector>
>
>
> Then I lauched the server but it crash on start-up with the exception :
> java.io.IOException: Keystore was tampered with, or password was incorrect
>
> What's wrong ?




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