Certificates are stored in key.p12 file under profile directory:

/opt/IBM/WebSphere/AppServer/profiles/<profile_name>/config/cells/<cell_name>/nodes/<node_name>/key.p12

Set path variable to access java keytool program:

export PATH=$PATH:/opt/IBM/WebSphere/AppServer/java/jre/bin (path may vary in your installation)

Go to the above folder where keystore file is located. Issue following command:

$ keytool -list -v -keystore key.p12 -storetype PKCS12
Enter keystore password:  WebAS (default password, may vary from your installation)

Keystore type: PKCS12
Keystore provider: IBMJCE

Your keystore contains 1 entry

Alias name: default
Creation date: Mar 6, 2017
Entry type: keyEntry
Certificate chain length: 2

..

Here we can see there is one certificate in keystore.

Advertisements