Two-way authentication requires a
truststore and a keystore on both the client and the server. In this example, CA certificate "A"
exists in the truststore and a CA certificate "B" in the keystore of the client. CA certificate "B"
exists in the truststore and a CA certificate "A" in the keystore of the server. The client sends a
request to the SSL server. The SSL server sends Certificate A from the keystore to the client. The
client validates Certificate A against the certificates that are contained in the truststore.
If
the certificate is found in the truststore, the client accepts communication from the SSL server.
The server sends an authentication request to the client. The client sends Certificate B from the
keystore to the server. The server validates Certificate B against the certificates that are
contained in the truststore. If the certificate is found in the truststore, the server accepts
communication from the client.
The following figure describes SSL configuration for two-way
SSL communication. Figure 1. Two-way SSL communication (client communication)
Note:IBM Security Identity
server uses the existing
truststore and keystore of theWebSphere Application Server.
Procedure
To configure two-way SSL, do the following tasks:
Create a keystore for the Security Directory Integrator server.
Create a truststore for the Security Directory Integrator server. Do not do
this task if you use the same file for keystore and truststore.
Create a server-signed certificate for the Security Directory Integrator server.
Create a CA certificate for the Security Directory Integrator server.
Import the Security Directory Integrator CA
certificate in the WebSphere Application
Server truststore.
Note: You can modify the solution.properties file
for steps 6, 7, and 8 in a single operation. When you do so, do not
stop and restart the adapter service at the end of steps 6 and 7.
Configure the Security Directory Integrator to
use keystores.
Configure the Security Directory Integrator to
use truststores.
Enable the adapter service to use SSL.
Create a certificate for the IBM Security Identity
server.
Create a CA certificate for IBM Security Identity
server.
Import the WebSphere Application Server CA
Certificate in Security Directory Integrator truststore.