![[AIX]](ngaix.gif)
![[MQ 9.3.4 Oct 2023]](ng934.gif)
runqmcred (protect authentication token keystore password)
Use the runqmcred command to encrypt the password for the queue manager keystore that contains the trusted authentication token issuer's public key certificates or symmetric keys.
Purpose
The runqmcred command is used to encrypt the queue manager authentication token keystore. The authentication token keystore contains the public key certificates or symmetric keys for trusted authentication token issuers. The path to the keystore and the file that contains the encrypted password are specified in the AuthToken stanza in the qm.ini file. The queue manager uses the information in the AuthToken stanza to verify that the token that an application provides for authentication purposes is issued by a trusted issuer.
The command is provided because the use and storing of unencrypted passwords is not secure.
Syntax
Optional Parameters
- -sf keyfile
- Path to a file that contains the initial key that is used to encrypt the password. Create this file that contains the initial key before you run the runqmcred command. The same initial key must be specified in the queue manager INITKEY attribute. The file must contain a single line of at least one character.
Examples
The following example encrypts the authentication token keystore passwords using the initial key that you provide.
runqmcred -sf /home/initial.key5724-H72 (C) Copyright IBM Corp. 1994, 2025.
Enter password:
*************
<QM>!2!UnH/9hRXEGA0cenLVSGCW9a0s5A2vHDkTiA7vRv8ogc=!yhlsHFw7MIh48SvaYeTwRQ==runqmcred5724-H72 (C) Copyright IBM Corp. 1994, 2025.
Credentials are encrypted using the default encryption key. For more secure
protection of stored credentials, use a custom, strong encryption key.
Enter password:
*************
<QM>!2!b5rb01sMzFzc1ClZeQMryruWFM3HSm8DKyEaZK7qzWY=!TrWdU57DCDXM0Qah99I/Lg==Return codes
- 0
- Command completed successfully.
- 1
- Command completed unsuccessfully.
