rabbitmq ssl code example
Example: rabbitmq ssl docker
docker run -d
-p 127.0.0.1:15672:15672 \
-p 127.0.0.1:15671:15671 \
-p 5671:5671 \
-p 5672:5672 \
-p 127.0.0.1:4369:4369 \
-p 127.0.0.1:25672:25672 \
-e RABBITMQ_DEFAULT_USER=admin \
-e RABBITMQ_DEFAULT_PASS=LetMe!n \
-e RABBITMQ_SSL_CERT_FILE=/certs/rabbit.example.org.cert \
-e RABBITMQ_SSL_KEY_FILE=/certs/rabbit.example.org.key \
-e RABBITMQ_SSL_CA_FILE=/certs/ca.cert \
-e RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT=false \
-e RABBITMQ_SSL_VERIFY=verify_peer \
-v /srv/ssl/rabbit/:/certs \
-v /srv/rabbit/:/var/lib/rabbitmq \
rabbitmq:management-alpine
123456789101112131415161718