how to enable SSL/TLS in rabbitmq for rabbitmq:3-management docker image. #470
Replies: 4 comments 1 reply
-
Your variables are typo'd: Following the example at https://www.rabbitmq.com/ssl.html#automated-certificate-generation-transcript I was able to get ssl working #376 (comment) |
Beta Was this translation helpful? Give feedback.
-
are not related to TLS but also the lines you are looking for. How CLI Tools Authenticate to RabbitMQ Nodes, Troubleshooting Shared Secret Authentication explain what is going on and what you should do. Instead of using environment variables, consider using Specifically in this case of using CLI tools from a host while RabbitMQ is running in a container, CLI tools support an |
Beta Was this translation helpful? Give feedback.
-
@wgerlach I think you folks should move such questions to Discussions (currently in beta but GitHub should enable them if you ask) or at least close them after providing an answer. |
Beta Was this translation helpful? Give feedback.
-
I am having a very similar issue. But I am trying to set up a cluster with 3 nodes. The clustering works for all nodes that use What is interesting is that
It seems that I was able to resolve this error by setting both the It displays as well the other nodes now in the management UI, but it says |
Beta Was this translation helpful? Give feedback.
-
how to enable SSL/TLS in rabbitmq for rabbitmq:3-management docker image.
I have followed the docker hub link(https://hub.docker.com/_/rabbitmq) of rabbitmq to deploy a rabbitmq docker container with below command to test and enable ssl/tls in rabbitmq
docker run
Above logs, output shows container is listening on tls/ssl port 5671, plain(without tls) port 5672 and tls management port 15671
and if do telnet on those open ports, I got below output
As we can see from the above output rabbit container connection is getting closed on 5671 and 15671 ports by the foreign host and not getting closed on port 5672.
and if I check the status of rabbitmq or try to add new user inside rabbitmq container I got the below errors.
So what's gone wrong from my side that
connection on ssl/tls ports 5671 and 15671 are getting closed by the foreign host
show status inside rabbitmq container throws second error(Error: unable to perform an operation on node 'rabbitnode@my-rabbit'). I need to resolve this error as it's absolutely necessary for me to create a new user and set right permissions to it using below command
I have used this link(https://www.rabbitmq.com/ssl.html) guide to get SSL certificates.
Can someone please throw some light on this as to why it's happening like this and how to resolve this issue and enable SSL/TLS in rabbitmq?
Beta Was this translation helpful? Give feedback.
All reactions