RabbitMQ - rabbitmq conf file

The rabbitmqctl status command can be used to list the location of the main configuration files.

rabbitmqctl status


Which should return something like this.

Config files

 * /etc/rabbitmq/advanced.config
 * /etc/rabbitmq/rabbitmq.conf


Or, the main RabbitMQ log file, such as /var/log/rabbitmq/rabbit@server001.log on Linux, will contain the location of the main configuration files, like this:

=INFO REPORT==== 14-Oct-2020::20:47:15 ===
node           : rabbit@server1
home dir       : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/advanced.config
               : /etc/rabbitmq/rabbitmq.conf
cookie hash    : Bddfb/l/3CnnYPk34AsxABa=
log            : /var/log/rabbitmq/rabbit@server1.log
sasl log       : /var/log/rabbitmq/rabbit@server1-sasl.log
database dir   : /opt/rabbitmq/mnesia/rabbit@server1


Be aware that a RabbitMQ configuration file may be in either an INI style layout, like this.

listeners.tcp = none
listeners.ssl.default = 5671
ssl_options.cacertfile = /var/lib/rabbitmq/config/certs/ca.pem
ssl_options.certfile   = /var/lib/rabbitmq/config/certs/certificate.pem
ssl_options.keyfile    = /var/lib/rabbitmq/config/certs/key.pem


Or a YAML style layout, like this.

   [ . . .


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 1427a in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |