Java Plug-in does not use the certificates in the browser certificate store for HTTPS client authentication.
SymptomsUnable to use certificates from the browser for client authentication.
Cause
The Java Plug-in uses certificates for client authentication from a certificate store specific to the JRE. It does not use the certificates from the browser certificate store.
Resolution
Client authentication in Java Plug-in requires the client certificate store on the user disk, keystore type, and the password to access it. These three parameters should be provided with system properties as follows:
-Djavax.net.ssl.keyStore=<client_keystore_file_path>
-Djavax.net.ssl.keyStorePassword=<password to access the client keystore file>
-Djavax.net.ssl.keyStoreType=<keystore_type>These properties should be specified in the Advanced tab of the Java Control Panel.
Here are the steps to export a digital certificate from the browser certificate store into a file:
- Open a browser window, click on Tools, then click the Internet Options submenu item.
- Click the Content tab.
- In the certificates section in the middle, click the Certificates button. The available certificates are shown in the dialog box.
- Select Client Authentication in the Intended Purpose drop down menu.
- Select the certificate you want to export.
- Click the Export button. The Certificate Manager Export Wizard starts.
- On the Welcome window, click Next.
- Keep the default to "Yes, export the private key" and click Next.
- Keep the default to "Personal Information Exchange - PKCS #12(.PFX)" and click Next.
- Complete the Password window.
- Type the path and filename of the file to export. The system automatically gives it a
.pfx
extension. Click Next.- Review the information and click Finish.
Example:
If the user exports the certificate to a file called (path included)
c:\certs\client.pfx
and uses the password "test" to protect the.pfx
file, the required system properties will take the following values:
-Djavax.net.ssl.keyStore=c:\certs\client.pfx
-Djavax.net.ssl.keyStorePassword=test
-Djavax.net.ssl.keyStoreType=pkcs12Related Information
N/A