The installation of a SOAR cluster results in self-signed certificates being used to encrypt the RabbitMQ and Consul traffic between the various cluster nodes.
A need to use certificates specific to your organization in order to encrypt RabbitMQ and Consul traffic between the various SOAR nodes has been identified.
The existing SOAR documentation discusses how to renew the default self-signed certificates using SOAR's phenv command, but it does not discuss how to replace the default self-signed certificates with custom certificates.
On each SOAR cluster node, the current status of the certificates can be displayed from the command line with the command
phenv update_certificates status
On each SOAR cluster node, the status of the certificates can be displayed from the command line with the command
phenv update_certificates status
Prior to replacing the certificates, run that command on each node to display the default self-signed certificates in use.
On each node, the relevant certificate files are in the directory PHANTOM_HOME/usr/rabbitmq/etc/ssl
ca/cacert.pem
server/server_cert.pem
server/server_key.pem
client/client_cert.pem
client/client_key.pem
To replace the default certificates with custom certificates, ensure the following are available:
Then follow these steps, as the user running SOAR:
PHANTOM_HOME/bin/stop_phantom.sh
PHANTOM_HOME/bin/phsvc start pgbouncer
phenv update_certificates status
Information from the new certificates should be displayed. Since SOAR is not currently running it is expected that there will be warnings or errors displaying the "live" certificates.
PHANTOM_HOME/bin/start_phantom.sh
phenv update_certificates status
Information from the new certificates should be displayed. Since SOAR is running it is expected that there will be no warnings or errors displaying the "live" certificates, and that the "live" certificates will reflect the information from the new certificates.
When generating the server and client certificates:
IP.1 = ::1
IP.2 = 127.0.0.1
IP.# = (one "IP.#" entry for the ip address of each node in the cluster)
DNS.1 = localhost.localdomain
DNS.2 = localhost
DNS.3 = 127.0.0.1
DNS.4 = ::1
DNS.# = (one "DNS.#" entry for the ip address of each node in the cluster)
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |