-
Notifications
You must be signed in to change notification settings - Fork 5
RabbitMQ
Juan Wajnerman edited this page Sep 3, 2014
·
1 revision
Adapted from the http://www.rabbitmq.com/management.html on the RabbitMQ site
# sudo rabbitmq-plugins enable rabbitmq_management
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
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 ".*" ".*" ".*"
# sudo /etc/init.d/rabbitmq-server restart
Ensure you open up port 55672 in your security group
Navigate to https://your-server:55672