Sunday, June 3, 2018

KeyStore.kdb - How to list the certificates and Expiry Dates via command line

Please subscribe on my YouTube Channel.


 ramit.girdhar@ in [~]

$ sudo su idsinst1                        -- comment sudo in as admin or root user.

$ gsk8capicmd_64 -cert -list -db /opt/ibm/ldap/sdskeystore.kdb
Source database password : passw0rd

Certificates found
*****Masked data******
*********list of certificates ***********

The default password for  keystore file (*.kdb) is passw0rd.
If this doesn't work, find the correct password if you are unable to find the password, you are better off creating a new *.kdb file and add certificates to it.


How to Check the Certificate Expiry Data via command line

gskcapicmd -cert  -details  -label <Certificate Name>-db key.kdb

No comments:

Post a Comment