Configuring the WebSphere Application Server Connection
Export a public certificate from WebSphere® Application Server so it can be imported into the WASTrust.jks truststore.
Procedure
- Start the WebSphere Application Server administrative console.
- Enter the WebSphere Application Server administrator user ID and password and click Log in.
- From the menu on the left side of the window, expand Security and click SSL certificate and key management.
- On the right side of the window, under the Related Items heading, click Key stores and certificates.
- A new window displays. From the Keystore usages menu towards the top of the page, select Root certificates keystores.
- Select NodeDefaultRootStore from the table.

- A new window displays. On the right side of the window, under the Additional
Properties heading, click Personal certificates.

- Use the check box in the Select column to select the
root alias. Click Export at the top of the
table.

- On the next screen that is displayed, in the center pane under the General
Properties heading, enter the key store password and
key store file information to export your WebSphere Application
Server root certificate keystore file.
- The default keystore password is
WebAS
. - Under Key store file, specify the path and name for the file you are exporting.
- Set the Type field to
JKS
. Assign a password for your WebSphere Application Server root certificate keystore file.

- The default keystore password is
- Click OK. You are asked for a password; enter it here.
- From the Keystore usages menu towards the top of the page, select SSL keystores.
- Select NodeDefaultKeyStore from the table.

- A new window displays. On the right side of the window, under the Additional
Properties heading, click Personal certificates.

- Use the check box in the Select column to select the default
alias. Click Export at the top of the table.

- On the next screen that is displayed, in the center pane under the General
Properties heading, enter the key store password and
key store file information to export your WebSphere Application
Server root certificate keystore file.
- The default keystore password is
WebAS
. - Under Key store file, specify the path and name for the file you are exporting.
- Set the Type field to
JKS
. Assign a password for your WebSphere Application Server root certificate keystore file.

- The default keystore password is
- Click OK. You are asked for a password; enter it here.

- If the Tivoli Directory Integrator server is not on the same system as WebSphere Application Server, the exported certificates must be made available as a file on the Tivoli Directory Integrator system.
- Start the IBM Key Management Tool with the following command:
/opt/IBM/TDI/V7.1.1/jvm/jre/bin/ikeyman - On the right side of the window, click Import. Go to the
/root/WASkey keystore file to open and import the keystore file into the
WASTrust.jks truststore you created earlier.

- Click Browse to show the Open window. Set the
Look In menu to navigate to
root
. In the File Name field, enterWASkey
and set the Files of Type field toAll Files
. Click Open.
- Click OK to return to the previous window. You might be prompted to enter the WebSphere keystore password. The default is "WebAS."
- In the Change Labels window, click OK to import
the keystore file into the WASTrust.jks truststore. You are prompted to enter the password you set
when you created the keystore file. You do not need to change the label.

The personal certificates of
root
anddefault
are now in the WASTrust.jks truststore. Save and close the WASTrust.jks key database file. You completed the WebSphere Application Server connection.