listcert (list certificate)
List the certificates that are held in the keystore of a specific queue manager.
Purpose
You can use the listcert command to list the certificates that are held in the key repository of a queue manager.
Syntax
Parameters
- -m QMgrName
- Specifies the name of the queue manager for which the certificates are listed.
- -expiry Days
- Specifies that the valid-from and valid-to dates are displayed.
Usage notes
- This command must be run from the IBM® MQ administration mode. If the system is in the IBM MQ administration mode the prompt includes
mq
. To enter the IBM MQ administration mode, entermqcli
on the command line. To exit the IBM MQ administration mode, enterexit
on the command line.
Examples
- The following command lists the certificates for the queue manager
QM1
:listcert -m QM1