RabbitMQ on CentOS 7

Install rabbitmq-server from the standard

Enable the rabbitmq-server service

Install and enable nginx, you only need port 80 so no config changes are needed. Run certbot for your domain name and then set crontab so it keeps renewing. This is where we pull our rabbit certs from.

Specify the certs we pulled in /etc/rabbitmq/rabbitmq.conf

 58    {ssl_options, [{cacertfile,           "/etc/letsencrypt/live/rabbit.dev0.sh/cert.pem"},
 59                   {certfile,             "/etc/letsencrypt/live/rabbit.dev0.sh/fullchain.pem"},
 60                   {keyfile,              "/etc/letsencrypt/live/rabbit.dev0.sh/privkey.pem"},
 61                   {verify,               verify_peer},
 62                   {fail_if_no_peer_cert, false}]},