Ask a Question

Solution ID : SO5300

How to view certificate information in a keystore file?

Problem

Keystore list
Keytool list

Solution

To view the certificate information in a keystore, run the following command:

keytool -list -v -keystore [enter keystore name] -storepass [enter keystore password]


To output the certificate information in a keystore to a text file, run the following command:

keytool -list -v -keystore [enter keystore name] -storepass [enter keystore password] > keystoreOutput.txt