Deleting a certificate

You can delete a certificate from the key repository of a queue manager by using the deletecert command on the command line.

Procedure

  1. Enter the IBM® MQ administration mode by entering the following command:

    mqcli

  2. Delete the certificate by entering the following command:

    deletecert -m QMgrName -label Label

    Where:
    QMgrName
    Specifies the name of the queue manager that you want to delete the certificate from.
    Label
    Specifies the label that is associated with the certificate.
  3. Optional: Exit the IBM MQ administration mode by entering the following command:

    exit

What to do next

You can delete any associated certificate files from mqpubcert:/// by using the delete command. For more information, see Deleting certificates from the appliance.