RabbitMQ node does not load TLS certificate or private key on boot #15065
-
Describe the bugI tried to get RabbitMQ running with TLS encryption and ran into Socket Exceptions from both, client and browser. It turned out, that I used a wrong key format as RABBITMQ_SERVER_KEY_PEM. I can use any file, even log files or any other plain text file, and RabbitMQ starts without issues. The log file doesn't show any issue while starting and reports a succesful start: But unfortunatley neither http nor https connections are working even though RabbitMQ is listening on the ports. Reproduction steps... Expected behaviorRabbitMQ should fail if it can't use the configured server key file. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Yes, this is how the underlying Erlang runtime works. You won't get an error until the first attempt to use those files to create a TLS-encrypted TCP connection. |
Beta Was this translation helpful? Give feedback.
Yes, this is how the underlying Erlang runtime works. You won't get an error until the first attempt to use those files to create a TLS-encrypted TCP connection.