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

Read syntax diagramSkip visual syntax diagram listcert -m QMgrName -expiryDays

Parameters

-m QMgrName
Specifies the name of the queue manager for which the certificates are listed.
The queue manager must exist.
-expiry Days
Specifies that the valid-from and valid-to dates are displayed.
Days is an optional numeric value that specifies that the valid-from and valid-to dates are displayed for certificates that expire within that number of days.

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, enter mqcli on the command line. To exit the IBM MQ administration mode, enter exit on the command line.

Examples

  • The following command lists the certificates for the queue manager QM1:
    listcert -m QM1
    

Related commands