Renaming a certificate

You can rename a certificate in the key repository of a queue manager by using the renamecert command on the command line.

About this task

You can update the label of a certificate. You can use this command, for example, to rename a new certificate so that it has the label used by an old certificate that is about to expire.

Procedure

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

    mqcli

  2. Rename the certificate by entering the following command:

    renamecert -m QMgrName -label CurrentLabel -new_label NewLabel

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

    exit