createcertrequest (create certificate request)
Create a certificate request for a queue manager.
Purpose
You can use the createcertrequest command to create a certificate request for a specified queue manager.
Syntax
Parameters
- -m QMgrName
- Specifies the name of the queue manager for which the certificate request is created.
- -dn DistinguishedName
- Specifies the X.500 distinguished name that uniquely identifies the certificate.
- -label Label
- Specifies the label that is associated with the certificate request.
- -sig_alg HashAlgorithm
- Specifies the signing algorithm that is used to create the signature that is associated with the new certificate.
- -size KeySize
- Specifies the size of the new key pair.
- -ku Usage
- Specifies a list of valid uses for the certificate.
- -eku Usage
- Specifies a list of valid uses for the certificate.
- -san_dnsname DNSNames
- Specifies the Subject Alternative Name (SAN) DNS names for the certificate that is created.
- -san_ipaddr IPAddresses
- Specifies the Subject Alternative Name (SAN) IP addresses for the certificate that is created.
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, entermqcli
on the command line. To exit the IBM MQ administration mode, enterexit
on the command line. - The certificate request file name is generated based on the label that is specified in the command. The file name is displayed when the command completes.
Examples
- The following command creates a certificate request for queue manager
QM2
, with a distinguished name of
:CN=Jane Smith,O=IBM,OU=Test,C=US
createcertrequest -m QM2 -dn "CN=Jane Smith,O=IBM,OU=Test,C=US"