![[AIX, Linux, Windows]](ngalw.gif)
![[MQ 9.4.0 Jun 2024]](ng940.gif)
runmqktool (manage keys, certificates, and certificate requests)
Use the runmqktool command to manage keys, certificates, and certificate requests in key repositories that IBM® MQ uses. runmqktool provides the same functions as the Java keytool certificate management utility.
- PKCS #12
- JKS
- JCEKS
From IBM MQ 9.4.0, this command replaces the runmqckm command that is used to manage certificates in earlier versions of IBM MQ.
The runmqktool command requires that the IBM MQ Java runtime environment (JRE) component is installed.
Usage notes
The runmqktool command calls the keytool certificate management utility in the Java runtime environment that is supplied with IBM MQ.
- For version IBM MQ 9.4.3 and earlier, see Keytool.
From IBM MQ 9.4.4, see The keytool Command.
Syntax
Parameters
- -certreq
- Create a request for a signed certificate to be sent to a certificate authority (CA). You must first create a key pair by using the -genkeypair command.
- -changealias
- Change the label that is associated with an entry in the key repository.
- -delete
- Delete an entry from the key repository.
- -exportcert
- Extract the public part of a certificate from the key repository.
- -genkeypair
- Create a public key and private key pair, and an associated self-signed certificate.
- -importcert
- Add a certificate to the key repository. Use this command to complete one of the following actions:
- Add a certificate to the key repository as a trusted certificate.
- Receive a certificate that is signed by a certificate authority (CA) into the key repository.
- -importkeystore
- Import certificates and their associated private keys into the key repository from another key repository.
- -keypasswd
- Change the password that protects a private key in the key repository.
- -list
- List the contents of the key repository.
- -storepasswd
- Change the key repository password.
- options
- The parameters that are required for the specified command.
All commands and options that are specified are passed unchanged to the Java keytool certificate management utility. For more information about the commands and options that can be specified, see Keytool.
Return codes
| Return code | Description |
|---|---|
| 0 | Command successful. |
| >0 | Command not successful. |
