[MQ 10  2026]

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

Read syntax diagramSkip visual syntax diagram setrepcert -e-labelLabelName-r-labelLabelName -d

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 -e uses the default label name of mq_replication, while setrepcert -r uses 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, enter mqcli on the command line. To exit the IBM MQ administration mode, enter exit on the command line.

Examples

  • The following command starts the TLS Replication Handshake daemon:
    setrepcert -e 

Related commands

dsprepcert (display TLSHD)