Replies: 2 comments 3 replies
-
Half your environment variables are for the management variant and half are for the non-management https://github.com/docker-library/docs/tree/master/rabbitmq#environment-variables
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.
-
Did you run Lines 412 to 415 in 6fde356 Or try running it through the entrypoint: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to run a RabbitMQ Pod with SSL on a Kubernetes cluster.
I define the env variables:
(obviously a test setup)
In the logs I see that the listeners for SSL do start:
Unfortunately if I do
rabbitmq-diagnostics status
it gives an error:Starting the container without SSL works fine and
rabbitmq-diagnostics status
returns the correct output without errors.Note that this is a single container, so there is no cluster, no possible problem with multiple nodes being out of sync etc.
Running
netstat -tulpn
inside the container I see that the listeners are active (although I don't understand why some ports are bound to localhost and other to0.0.0.0
...):If I try to
telnet 127.0.0.1 5671
it connects (with5672
too).Here are the logs:
logs-from-rabbitmq-a-in-rabbitmq-a.txt
Is this a bug in the docker image or a problem on how SSL is configured. The docker Hub page simply says to use the env variables without any information and I tried to follow a couple of online guides to generate the correct certificates and IMHO if the listeners start that should mean Rabbit liked the certificates, right?
I forgot to mention, my application using Micronaut fails to connect with this error:
So it's not an out-right connection refused.
Beta Was this translation helpful? Give feedback.
All reactions