Page 1 of 1

keygen fails to generate new password

Posted: Thu Jul 21, 2005 6:17 pm
by mobrien
After sucessfully following the installation guide and generating the keygen password for tomcat, it will not let me change it by the same procedure as outlined in the instructions.

./kettool -genkey -alias tomcat -keyalg RSA

When prompted to enter a keystore password, any new password generates an error and fail to generate the certificate. If I enter the original password it terminates stating that it already exists.

Please advise.

Posted: Fri Jul 22, 2005 5:11 am
by natkins
Hi Mark,

To change the tomcat password use the following:

keytool -keypasswd -alias tomcat

then enter the keystore password and the new password (must be different).

Hope that helps. Cheers,

Nick.