Please enable JavaScript to view this site.

Administration manual

Navigation: Tech Doc > RabbitMQ - Communication via SSL

RabbitMQ configuration file adaption

Scroll Prev Top Next More

To enable the communication between PHP and RabbitMQ via SSL, adaptions in the file rabbitmq.conf are mandatory.

Please note: You can identify the Storage location of the configuration file via the RabbitMQ documentation.

Activate the SSL port by removing the# symbol from the beginning of the line. Keep the default settings for the SSL port.

listeners.ssl.default = 5671

Disable TCP by inventing the new option listeners.tcp. Additionally, comment out the option listeners.tcp.default.

listeners.tcp = none

# listeners.tcp.default = 5672

Adapt your configuration file to store the following SSL settings:

ssl_options.verify = verify_peer

ssl_options.fail_if_no_peer_cert = false

ssl_options.cacertfile = C:\certs\rabbitmq\cacert.pem

ssl_options.certfile = C:\certs\rabbitmq\cert.pem

ssl_options.keyfile = C:\certs\rabbitmq\key.pem

The changes of the rabbitmq.conf are only taken into account for the RabbitMQ service if previously the RabbitMQ service has been restarted.