Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: Authentication is Not Working With the Solaris Realm
- Next: Chapter 5 Frequently Asked Questions

# 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

- Previous: Authentication is Not Working With the Solaris Realm
- Next: Chapter 5 Frequently Asked Questions

- © 2010, Oracle Corporation and/or its affiliates