Configure CSIv2 for SSL client authentication
To configure CSIv2 for SSL client authentication, perform the following steps:
- Configure the client application for SSL authentication.
- Configure WebSphere Application server for SSL client authentication.
Configure the client application for SSL authentication
To configure the Java client application, you customize the settings in the sas.client.props file. The file is then packaged with your Java client application to provide runtime settings.
To edit the sas.client.props file for your client application, complete the following steps:
Open the sas.client.props file in a text editor. A copy of file is located in the /QIBM/UserData/WebAS5/product/instance/properties directory, where product is either Base or ND, and instance is the name of your server instance.
To require SSL client authentication, set the property com.ibm.CSI.performTLClientAuthenticationRequired=true. Do not set this property unless you know your target server also supports SSL client authentication for the inbound CSI authentication protocol.
To support SSL client authentication, set the property com.ibm.CSI.performTLClientAuthenticationSupported=true.
To specify the CSI protocol, set the property com.ibm.CSI.protocol=csiv2.
To match the SSL protocol configured with your server, set the property com.ibm.ssl.protocol accordingly.
Specify the com.ibm.CORBA.ConfigURL property with the fully qualified path of your Java property file when you run your application. For example, -Dcom.ibm.CORBA.ConfigURL=file:/QIBM/UserData/WebAS5/product/instance/properties/sas.client.props where product is Base or ND and instance is the name of your instance.
Save the sas.client.props file and package it with your client application.
Configure WebSphere Application server for SSL client authentication
To configure your WebSphere Application Server instance, complete the following steps:
Start the WebSphere administrative console.
In the navigation menu, expand Security and then click Authentication Protocol.
Click CSIv2 Inbound Authentication.
Select Supported or Required for the Client Certificate Authentication field.
Click OK.
If you selected Required for client cerificate authentcation, configure the CSIv2 outbound authentication as well to support the client certificate authentication. Otherwise, you can skip this step.
Click CSIv2 Outbound Authentication, and select either Supported or Required for the Client Certificate Authentication field.
Click CSIv2 Outbound Transport. Select an SSL setting from the SSLSettings list for keystore, truststore, cryptographic token, SSL protocol, and ciphers use. Create an alias from the SSL Configuration Repertoires panel for an SSL setting. Update the SSL setting that you selected in the CSIv2 Inbound Transport panel.
Save your configuration.
Restart the server for the changes to become effective.