Subject: RabbitMQ 3.7.x TLS issues on Windows – service crash when SSL certificates are configured
Hello,
I am running RabbitMQ 3.7.17 with Erlang 22.0.7 on Windows 10 and trying to enable TLS for both AMQP and the Management UI.
After multiple attempts, I would like to share my observations and ask for guidance on the correct configuration approach.
Configuration approachAlthough I tried configuring TLS using both rabbitmq.conf (INI format) and rabbitmq.config (classic Erlang format), neither of them resulted in a working TLS listener.
The only configuration file that actually enables TLS listeners on my system is advanced.config, so I am currently proceeding exclusively with that file.
Current advanced.config:
This connection succeeds.
Client certificate (mTLS) testWhen certificate options are configured, I attempt to connect using a client certificate:
The output still shows:
In some cases, RabbitMQ crashes or terminates shortly after this connection attempt.
I am also unable to reliably access the Management UI over TLS.
OpenSSL test:
Output:
When SSL certificates are configured, RabbitMQ either becomes unresponsive or terminates after this test.
Summary of issuesTLS listeners are only activated when using advanced.config
Adding SSL certificate options can cause RabbitMQ to crash on startup
Server-only TLS connections succeed via OpenSSL
Client certificate (mTLS) connections do not appear to be requested or validated
Management UI over TLS is unstable and causes the service to stop
OpenSSL reports successful verification even when RabbitMQ terminates
What is the correct and supported way to configure TLS (including client certificates) on RabbitMQ 3.7.x for Windows?
Why does RabbitMQ crash or terminate when SSL certificates are configured?
Is this behavior expected on Windows with Erlang 22, or does it indicate a known issue?
How can TLS be enabled for both AMQP (5671) and Management UI (15671) without destabilizing the service?
Any guidance or recommendations would be greatly appreciated.