Configure SSL for Java client authentication

WebSphere Application Server supports Java client authentication using a digital certificate when the client attempts to make a SSL connection. The authentication occurs during an SSL handshake. The SSL handshake is a series of messages exchanged over the SSL protocol to negotiate for connection-specific protection. During the handshake, the secure server requests the client to send back a certificate or certificate chain for the authentication.

 

To configure SSL for Java client authentication, consider the following questions:

  • Have you enabled security with your WebSphere Application Server? Refer to Configure global security for more details.

  • Have you configured CSI authentication protocol for your target application server? Refer to Configure global security for more details.

    Note: The Security Authentication Service (SAS) authentication protocol does not support Java client authentication with SSL transport.

  • Have you configured your server to support secure transport for the inbound CSI authentication protocol?

  • Have you configured your server to support client authentication at the transport layer for the inbound CSI authentication protocol?

  • If you are using a self-signed personal certificate, have you exported the public certificate from your client application Java keystore file or cryptographic token device?

  • If you are using a certificate authority (CA)-signed personal certificate, have you received the root certificate of the CA?

  • If you are using a self-signed personal certificate, have you imported the public certificate into your target Java truststore file as a signer certificate?

  • If you are using a CA-signed (certificate authority) personal certificate, have you imported the CA root certificate into your target Java trustStore file as a signer certificate?

  • Does the common name (CN) specified in your personal certificate name exist in your configured user registry?
If you answer yes to all these questions, you can configure SSL for Java client authentication.

Note: Java client authentication using digital certificates is supported only by the CSIv2 authentication protocol.

 

  1. Configure CSIv2 for SSL client authentication.

  2. Add keystore files.

  3. Add truststore files.

  4. Save changes.

  5. Restart the server if you have configured the server.

 

Usage scenario

Secure client connects to a secure Internet InterORB Protocol (IIOP) server that requires client authentication at the transport layer.

 

What to do next

If a connection problem occurs, you can set a Java property, javax.net.debug=true , before you run your client or your server to generate debugging information. See Troubleshooting security configurations for further information about how to debug an IBM JSSE problem.


Authentication protocol for EJB security
Creating a secure sockets layer repertoire configuration entry
Managing digital certificates
Cryptographic token settings

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.