Skip to content
Juan Wajnerman edited this page Sep 3, 2014 · 1 revision

RabbitMQ Management Plugin

Adapted from the http://www.rabbitmq.com/management.html on the RabbitMQ site

Installation

# sudo rabbitmq-plugins enable rabbitmq_management

Configure SSL

Follow the http://www.rabbitmq.com/mochiweb.html on the RabbitMQ site but make sure you have set the correct permissions to read the certificate files.

For example:

# sudo chmod g+r /path/to/cacert.pem
# sudo chown root:ssl-cert /path/to/cacert.pem
# sudo chmod g+r /path/to/cert.pem
# sudo chown root:ssl-cert /path/to/cert.pem
# sudo chmod g+r /path/to/key.pem
# sudo chown root:ssl-cert /path/to/key.pem
# sudo usermod -G ssl-cert rabbitmq

Configure RabbitMQ admin user and permissions

The following snippit creates an administrator user (highest privileges) and gives him read/write access for all resources

# sudo rabbitmqctl add_user user secret
# sudo rabbitmqctl set_user_tags administrator
# sudo rabbitmqctl set_permissions -p /nuntium user ".*" ".*" ".*"

Restart RabbitMQ

# sudo /etc/init.d/rabbitmq-server restart

EC2

Ensure you open up port 55672 in your security group

Test it out

Navigate to https://your-server:55672

Clone this wiki locally