tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arieh Markel <Arieh.Mar...@central.sun.com>
Subject SSL Key generation problem
Date Wed, 04 Oct 2000 19:51:38 GMT
Probably I am missing the obvious.

When trying to debug my application with the latest 3.2 (downloaded today)
and trying to test SSL, I am failing to generate the keystore.

The following is the error I am seeing:

: amarkel@forechek [1097]; keytool -genkey -alias tomcat -keyalg RSA
Enter keystore password:  changeit
keytool error: KeyPairGenerator not available


Here are the relevant portions of the CLASSPATH:

/ws/sx1.0-tools/jakarta/v3.2-6/dist/jakarta-tomcat/lib/webserver.jar:/ws/sx1.0-t
ools/jakarta/v3.2-6/dist/jakarta-tomcat/lib/servlet.jar:/ws/sx1.0-tools/jakarta/
v3.2-6/dist/jakarta-tomcat/lib/parser.jar:/ws/sx1.0-tools/jakarta/v3.2-6/dist/ja
karta-tomcat/lib/jaxp.jar:/ws/sx1.0-tools/jakarta/v3.2-6/dist/jakarta-tomcat/lib
/jasper.jar:/ws/sx1.0-tools/JDK-JTG-RELEASES/Solaris_JDK_1.2.2_05a/lib/tools.jar
:/ws/sx1.0-tools/SUPPORT_PKGS/jsse/jsse1.0.2_gl/lib/jsse.jar:/ws/sx1.0-tools/SUP
PORT_PKGS/jsse/jsse1.0.2_gl/lib/jnet.jar:/ws/sx1.0-tools/SUPPORT_PKGS/jsse/jsse1
.0.2_gl/lib/jcert.jar:/ws/sx1.0-tools/SUPPORT_PKGS/jce/jce1.2.1/lib/jce1_2_1.jar
:/ws/sx1.0-tools/SUPPORT_PKGS/jce/jce1.2.1/lib/sunjce_provider.jar:.

Which to make it clear includes:

	jsse.jar
	jnet.jar
	jcert.jar
	jce1_2_1.jar
	sunjce_provider.jar

I set the jre/lib/security/java.security file as indicated.

I am running with JDK 1.2.2.05a.

Any ideas of what I am doing incorrectly ?

Thanks,

Arieh
--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)


Mime
View raw message