GlassFish 3.1
On GlassFish, you need to do the following setup to avoid a java.security.UnrecoverableKeyException with the message Password must not be null:
- Edit your domain's
domain.xml(e.g. indomains/domain1/config/domain.xml). - Search for the section of the file that contains
<jvm-options>elements, and there, add:<jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>. If you changed your Glassfish master password, set this property to your new password.