users@glassfish.java.net

Re: Proper SSL Implentation

From: <glassfish_at_javadesktop.org>
Date: Thu, 25 Oct 2007 22:05:08 PDT

Hi,

 You don't have to worry about getting another cert issue for $100. This one should work. Your GF keystore looks good now.

 except that you will see this error

UnrecoverableKeyException: Cannot recover key

 Whenever the Keypassword is different from Keystore password.

So what you need to do now is to just run the following command :

 keytool -keypasswd -alias myalias -keypass <old-keypassword for myalias> -new changeit -keystore "C:\glassfish\domains\domain1\config\keystore.jks" -storepass changeit

And then restart glassfish again.

Thanks.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]

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