users@glassfish.java.net

Re: Glassfish v2 won't start "UnrecoverableKeyException: Cannot recover key

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Sep 2007 09:46:45 PDT

# keytool -keypasswd -keystore keystore.jks -alias wssip
Enter keystore password: adminadmin
Enter key password for <wssip>changeit
New key password for <wssip>: adminadmin
Re-enter new key password for <wssip>: adminadmin

xws-security-client is tricky:
# keytool -keypasswd -keystore keystore.jks -alias xws-security-client
Enter keystore password: adminadmin
New key password for <xws-security-client>: changeit
Re-enter new key password for <xws-security-client>: adminadmin
They don't match; try again
New key password for <xws-security-client>: adminadmin
Passwords must differ

# keytool -keypasswd -keystore cacerts.jks -alias xws-security-server
keytool error: java.lang.Exception: Keystore file exists, but is empty: cacerts.jks

my file cacerts.jks has size 0 now.
[Message sent by forum member 'nouar38' (nouar38)]

http://forums.java.net/jive/thread.jspa?messageID=236503