setrepcert (set replication certificate)
Manage the TLS Replication Handshake daemon.
Purpose
You use the setrepcert command to start the TLS Replication Handshake daemon. The setrepcert -e command starts the daemon, after which it is monitored to ensure it is running, and restarted as required (including during appliance restart). If the key and certificate configuration are incomplete or invalid, the setrepcert -e command fails.
Syntax
Parameters
- -d
- Disable the TLS Replication Handshake daemon.
- -e
- Enable the TLS Replication Handshake daemon.
- -r
- Restart the TLS Replication Handshake daemon.
- -label LabelName
- Optionally specifies which private key and certificate to use. This must match the label of a
private key and certificate in the replication key repository. If not supplied,
setrepcert -euses the default label name ofmq_replication, whilesetrepcert -ruses label as currently in use.
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 starts the TLS Replication Handshake daemon:
setrepcert -e
