Configure JMS client applications to perform client SSL authentication
We can configure JMS client applications to authenticate to the bus by using client SSL authentication.
- You have already obtained an SSL certificate for the JMS client application.
- The JMS client application is already configured to use SSL. For more information, see ssl.client.props client configuration file
This task has two objectives. First, you install the SSL certificate for the client application in the keystore for the application client. Second, you modify the sib.client.ssl.properties file to use client SSL authentication. Use Key Management (iKeyman) utility to work with SSL certificates. The iKeyman user interface is based on Java and uses the Java support installed with IBM HTTP Server.
Take the following steps to configure a JMS client application to use client SSL authentication:
- Start the iKeyman user interface. Refer to the iKeyman User Guide available from IBM developer kits for more information about using iKeyman.
- When prompted, select the keystore for the JMS client application.
- When prompted for the type of certificate to work with, select the option Personal certificates. A list of personal certificates is displayed.
- Select to import a certificate to the selected keystore.
- When prompted, type the location and name for the certificate. We can provide an alias for the certificate. The certificate is installed into the keystore of the client application.
- Close the iKeyman user interface.
- Open a text editor to work with the sib.client.ssl.properties. This file is in the profile_root/properties directory of the application server installation, where profile_root is the directory in which profile-specific information is stored.
- Set the value for the property com.ibm.ssl.client.clientAuthentication to True.
- Set the value for the property com.ibm.ssl.client.keyStoreClientAlias to the alias name for the certificate in the client keystore.
- Save the sib.client.ssl.properties.
Results
You have now configured a JMS client application to use client SSL authentication.
Related concepts
Secure communications using SSL
Related tasks
Secure communications