FreeKB - IBM Global Security Kit (GSKit) Display certificates and private keys in a Key Database file
IBM Global Security Kit (GSKit) - Display certificates and private keys in a Key Database file

This assumes you have reviewed Getting Started with IBM Global Security Key (GSKit).

The -cert and -list options can be used to view the certificates and keys in a Key Database. In this example, "all" certificates in the Key Database file are listed. Instead of all, you could also use "personal" or "CA".

${install_root}/gsk8/bin/gsk8capicmd_64
-cert
-list all
-db /path/to/example.kdb
-stashed or -pw your_password

 

If the key database does not contain any certificates or keys, the following will be displayed.

No certificates were found.

 

In this example, there are two certificates in the database (default and example). Be aware that line 2 is a key or legend, that simply defines certain special characters used to identiy an entry as a default, personal, or trusted certificate, or as a private key.

Certificates found
* default, - personal, ! trusted, # secret key
* default
- example

 

Grep can be used to filter the results.

gsk8capicmd_64 -cert -list -db example.kdb -stashed | grep -i "example.com"

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 4d59d in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |