receivecert (receive certificate)

Receive a certificate signed by a Certificate Authority (CA) as the result of a previous request.

Purpose

You can use the receivecert command to accept a certificate that has been signed by a CA.

Syntax

Read syntax diagramSkip visual syntax diagram receivecert -m QMgrName -file FileName -formatascii|binary

Parameters

-m QMgrName
Specifies the name of the queue manager for which the certificate is accepted.
The queue manager must exist.
-file FileName
Specifies the file that contains the certificate.
This file must be available on the appliance. The file must be located in mqpubcert://.
-format ascii|binary
Specifies the format of the certificate.
The default value is ascii.

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 accepts a certificate file certificate.pem for the queue manager QM1 :
    receivecert -m QM1 -file certificate.pem
    

Related commands