My iKeycmd cheat sheet

# Add a client certificate to the Queue manager keystore (using stashed password)
ikeycmd -cert -add -db "key.kdb" -label ibmwebspheremqclient01 -file ibmwebspheremqclient01.crt -format ascii -stashed

# Remove certificate from Queue manager keystore (using stashed password)
ikeycmd -cert -delete -label ibmwebspheremqclient01 -db "key.kdb" -stashed

# Set default certificate (using stashed password)
ikeycmd -cert -setdefault -db key.kdb -stashed -label "mydefaultcertificate"

# List certificates
ikeycmd -cert -list personal -db "key.kdb" -pw changeit
ikeycmd -cert -list ca -db "key.kdb" -pw changeit

* List default signers
ikeycmd -cert -listsigners

Tested on IBM MQ 7.0.1.0 and Red Hat Linux 7

Comments are closed.