LDAP authentication fails after Erlang upgrade to 24.3.4 #4726
-
Hi, Today we experienced a new problem with LDAP authentication, all worked well with RabbitMQ 3.9.16 and Erlang 24.3.3 but after upgrading to Erlang 24.3.4 the LDAP authentication no longer works. In the logs we can now see, 2022-05-04 12:58:30.046747+02:00 [notice] <0.1634.0> TLS client: In state hello at ssl_handshake.erl:892 generated CLIENT ALERT: Fatal - Handshake Failure |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 81 replies
-
If you downgrade to 23.3.3 is the issue fixed?
There is one TLS-related fix in the ...but that has to do with client certificate authentication, which I'm assuming you're not using for LDAP, correct? |
Beta Was this translation helpful? Give feedback.
-
Please post full config files instead of snippets, there may be important details missing. |
Beta Was this translation helpful? Give feedback.
-
Hello! I am also working on the same issue as jande353, the same problem shows up with rabbitmq 3.10.0 and erlang 24.3.4. |
Beta Was this translation helpful? Give feedback.
-
According to the
all at the same time. That's a pretty unique combination and it makes reproduction It also attempts to use TLSv1.2 and TLSv1.3:
which the docs clearly say will not be possible because |
Beta Was this translation helpful? Give feedback.
-
Which LDAP server is being used? |
Beta Was this translation helpful? Give feedback.
-
@jande353 here is what I would like you to do on your RabbitMQ server, or another machine that has Erlang 24.3.4 installed and can communicate with your LDAP server. First, ensure that the
The following will ensure that Erlang and TLS are working on this machine. In one terminal window run this:
...and in another window:
You should see successful connection and communcation. I have set of self-generated certificates that I saved in the
An example set of commands to do that:
After doing the above, the following will start an LDAP Erlang client and will try to connect to the specified server and port:
When you run all of the above commands, capture ALL of the output into a file and ATTACH the file to your response. |
Beta Was this translation helpful? Give feedback.
-
A member of the Erlang team who works on TLS may have a lead erlang/otp#5961 (comment). It can take a while to put together a test, pass QA and get a release out. But as soon as a PR is merged, it will be possible |
Beta Was this translation helpful? Give feedback.
-
I have verified that the Erlang/OTP team has fixed this issue - cc @jande353 |
Beta Was this translation helpful? Give feedback.
-
cc @jande353 https://erlangforums.com/t/patch-package-otp-24-3-4-1-released/1524 |
Beta Was this translation helpful? Give feedback.
I have verified that the Erlang/OTP team has fixed this issue -
erlang/otp#5961 (comment)
cc @jande353