deletecert (delete certificate)

Delete a certificate from the keystore of a specific queue manager.

Purpose

You can use the deletecert command to remove a certificate from the key repository of a specified queue manager.

Syntax

Read syntax diagramSkip visual syntax diagram deletecert -m QMgrName -label Label

Parameters

-m QMgrName
Specifies the name of the queue manager for which the certificate is deleted.
The queue manager must exist.
-label Label
Specifies the label that is associated with the certificate.

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 deletes a certificate with a label of cert1 for the queue manager QM1:
    deletecert -m QM1 -label cert1
    

Related commands