Hello,
I am migrating our connections to RabbitMQ over from non-SSL connections to SSL connections. I have configured the SSL connections in the config file, but now when I try to stop accepting connections on the default port 5672, I'm finding that the config file changes aren't applying.
Here's the section of the config file I have in place:
...
{ssl_listeners, [5671]},
{ssl_options,
[
{cacertfile,"C:\\RabbitMQ\\etc\\ssl\\root.pem"},
{certfile,"C:\\RabbitMQ\\etc\\ssl\\cert.pem"},
{keyfile,"C:\\RabbitMQ\\etc\\ssl\\key.pem"},
{depth, 2},
{fail_if_no_peer_cert,false}
]
}
...
And after restarting the service (this is Windows, by the way) this is what I see in the rabbitmqctl status output:
...
{listeners,
[{clustering,25672,"::"},
{amqp,5672,"::"},
{amqp,5672,"0.0.0.0"},
{'amqp/ssl',5671,"::"},
{'amqp/ssl',5671,"0.0.0.0"}]},
...
Is there some other way to configure RabbitMQ to not open port 5672 and only allow connections over port 5671?
Thanks!