RabbitMQ 3.13.0 changes default for LDAP SSL peer verification with no mention in the breaking changes #10890
-
Describe the bugI use LDAP with SSL to authenticate users. I updated to 3.13.0 and couldn't login any more; only when I disabled the SSL peer verification it failed to startup and the error message is not too useful. Reproduction steps
Expected behaviorEither it works as it did before, or something is put in the release notes. Either way, the error message could be better? Additional contextLogs where it doesn't work
After increasing logging level:
The temporary settings I use:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
This is actually due to a change in Erlang: https://www.erlang.org/news/164#ssl Yes, we should document this better. Although, this change in Erlang's behavior hasn't resulted in nearly as many reports from RabbitMQ users as I expected it would. |
Beta Was this translation helpful? Give feedback.
-
RabbitMQ does not implement TLS, Erlang/OTP does. Indeed starting with Erlang 26, some TLS defaults have changed. Whether that's a bug or the previous behavior was a bug, depends on who you ask. In some cases we override the default (e.g. #8547) because setting up peer verification may or may not be practical in some contexts where TLS is used. I'm not sure why you consider these settings to be "temporary", if you choose to not enable peer verification, that's your call. Some may argue that the default should be "peer verification enabled." |
Beta Was this translation helpful? Give feedback.
-
Both 3.13.0 release notes and LDAP client TLS settings now mention the default change. FWIW most of the industry believe this is a better default, regardless of whether it drives any meaningful change in actual peer verification adoption. So in most places in RabbitMQ it will likely remain exactly as it is in the runtime. |
Beta Was this translation helpful? Give feedback.
-
Thanks very much! I for sure agree that the new default makes much more sense. |
Beta Was this translation helpful? Give feedback.
Both 3.13.0 release notes and LDAP client TLS settings now mention the default change.
FWIW most of the industry believe this is a better default, regardless of whether it drives any meaningful change in actual peer verification adoption. So in most places in RabbitMQ it will likely remain exactly as it is in the runtime.