Sun Microsystems 820682310 manual Mutual Authentication Not Working With the Application Client

Models: 820682310

1 48
Download 48 pages 55.33 Kb
Page 37
Image 37
Mutual Authentication Not Working With the Application Client

Issues Related to Security

grant codeBase "file:/.../build/sparc_SunOS/sec/-"{ permission java.util.PropertyPermission "*", "read,write";

};

Mutual Authentication Not Working With the Application Client

Description

This failure can occur when the keystore and truststore properties are not set properly.

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

Chapter 2 • Specific Issues

37

Page 37
Image 37
Sun Microsystems 820682310 manual Mutual Authentication Not Working With the Application Client, Description, Solution