keytool problem under Linux fixed (at least) with IBM JDK 1.3 :
- jsse.jar MUST BE IN BOTH CLASSPATH and $JAVA_HOME/jre/lib/ext
- I suggest you install jcert.jar, jnet.jar and jsse.jar in
$JAVA_HOME/jre/lib/ext and then add them to CLASSPATH
export CLASSPATH=$JAVA_HOME/jre/lib/ext/jcert.jar:$CLASSPATH
export CLASSPATH=$JAVA_HOME/jre/lib/ext/jnet.jar:$CLASSPATH
export CLASSPATH=$JAVA_HOME/jre/lib/ext/jsse.jar:$CLASSPATH
You could also copy the 3 jars in /opt/tomcat/lib/ so they are
automatically added to CLASSPATH at tomcat startup (tomcat.sh).
Now Tomcat 3.2b2 works perfectly in SSL on Linux 6.1/6.2 with
IBM JDK 1.3.
Next step, test to import OpenSSL generated .pem certificates.
Regards.
>Hi,
>
>Did someone succeed to use keytool (1.3) with tomcat 3.2b2 on Linux
>with IBM JDK 1.3 and jsse-1.0.1 (global) ?
>
>keytool -genkey -alias tomcat -keyalg RSA
>Enter keystore password: changeit
>keytool error: java.security.NoSuchAlgorithmException: RSA
>KeyPairGenerator
>not available
>
>
>When using cryptix-jce-20000818-snap.zip as provider I got instead :
>
>keytool error: java.lang.RuntimeException: PANIC
>
>By the way I could use OpenSSL to generate SSL certs. Could I use them
>instead (via import) and how ?
>
>Thanks
>
|