TLSv1.2 connections to an LDAP server fail on Erlang 27.3 but succeed on 26.2.x #13610
-
Community Support Policy
RabbitMQ version used4.0.7 Erlang version used27.2.x Operating system (distribution) usedRHEL 8.10 How is RabbitMQ deployed?RPM package rabbitmq-diagnostics status output
Logs from node 1 (with sensitive values edited out)
Logs from node 2 (if applicable, with sensitive values edited out)No response Logs from node 3 (if applicable, with sensitive values edited out)No response rabbitmq.conf
Steps to deploy RabbitMQ clusterThree node cluster deployed. After update from Erlang 26.2.5.8 to 27.3 no login via rabbitmq_auth_backend_ldap is possible. Logs appear like pasted here. Steps to reproduce the behavior in questionConfigure RabbitMQ 4.0.7 (Erlang 27.3) to use rabbitmq_auth_backend_ldap against a MS AD. Changing rabbitmq_auth_backend_ldap.ssl_options.versions.1 to tlsv1.2. advanced.config
Application codeno application involved Kubernetes deployment fileno kubernetes deployment What problem are you trying to solve?Get LDAP authentication back to work under Erlang 27.3. without degrading security. With Erlang 26.2.5.8 it was working. If we set rabbitmq_auth_backend_ldap.ssl_options.versions.1 to tlsv1.1, then it works with Erlang 27.3 as well. But that is less secure. Openssl tells that tlsv1.2 handshake against MS AD LDAP port is working:
And we have other applications that bind to MS AD LDAP port via TLSv1.2. Thanks in advance for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
As our community support policy very clearly states, we will not troubleshoot TLS for non-paying users. RabbitMQ does not implement TLS or the LDAP client we use, both are parts of You already use the recommended tooling from the Troubleshooting TLS guide, so the key problem is putting together a minimal reproducible case for the Erlang maintainers to agree to investigate. Using |
Beta Was this translation helpful? Give feedback.
-
@stankeB you are missing this very important information in your issue report:
I realize that this used to work with an older version of Erlang, but it's still necessary info. |
Beta Was this translation helpful? Give feedback.
As our community support policy very clearly states, we will not troubleshoot TLS for non-paying users.
RabbitMQ does not implement TLS or the LDAP client we use, both are parts of
erlang/otp
. Searching for issued that mention TLS or LDAP would be a good first step.You already use the recommended tooling from the Troubleshooting TLS guide, so the key problem is putting together a minimal reproducible case for the Erlang maintainers to agree to investigate. Using
openssl s_server
, for example.