validatecert (validate certificate)
Validate a certificate and its trust chain in the keystore of a specific queue manager, or for replication links.
Purpose
You can use the validatecert command to validate a certificate and its trust chain in a key repository. Validation ensures that the following criteria are met:
- All necessary intermediate and root certificates that are used to validate the certificate are present.
- These certificates have not expired.
Syntax
Parameters
- -m QMgrName
- Specifies the name of the queue manager for which the certificate is validated.
-replication- Specifies that the certificate to validate is for the replication link of an HA, DR, or DR/HA queue managers. The same certificate is used for all HA, DR, or DR/HA queue managers on an appliance.
- -label Label
- Optionally specifies the label of the certificate to validate.
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, entermqclion the command line. To exit the IBM MQ administration mode, enterexiton the command line.
Examples
- The following command validates a certificate with a label of
cert1for the queue managerQM1:validatecert -m QM1 -label cert1
