Sun GlassFish Enterprise Server 2.1 Troubleshooting Guide

Solution

Set the following properties on the JVM:

javax.net.ssl.keyStore=
<keystore-file-path\>;javax.net.ssl.trustStore=<truststore-file-path\>

To use the application client, set the environment variable VMARGS to the following value:

-Djavax.net.ssl.keyStore=
${admin.domain.dir}/${admin.domain}/config/keystore.jks
-Djavax.net.ssl.trustStore=
${admin.domain.dir}/${admin.domain}/config/cacerts.jks