Cannot get advanced.conf value encryption to work with LDAP #15497
-
Is your feature request related to a problem? Please describe.I have configured LDAP authentication for RabbitMQ server and below is the configuration overview. In rabbitmq.conf, i have enabled the parameters The advanced.config file has the following configuration. The configuration only works when the password is provided in clear text in dn_lookup_bind. Describe the solution you'd likePlease let me know how the password can be encrypted or any other possible solution where the passwords in not exposed in clear text in the advanced.config Update after applying the mentioned steps, Step 1: I've followed the gemini link and observed that the password is not getting decrypted after it is provided in the encrypted values in the advanced.config. Tried the Step 2 as well where the passoword is provided through a file. Still it is unable to decrypt and login. Also applied the config_entry_decoder parameter as per the official document link. Please find the updated advanced.config. [ {servers, ["ldap server"]}, {config_entry_decoder, [ {dn_lookup_bind, {dn_lookup_base, "dc=dc name,dc=com"}, {tag_queries, [ Please guide for the same. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Update after applying the mentioned steps, Step 1: I've followed the gemini link and observed that the password is not getting decrypted after it is provided in the encrypted values in the advanced.config. Tried the Step 2 as well where the passoword is provided through a file. Still it is unable to decrypt and login. Also applied the config_entry_decoder parameter as per the official document link. Please find the updated advanced.config. [ {servers, ["ldap server"]}, {config_entry_decoder, [ {dn_lookup_bind, {dn_lookup_base, "dc=dc name,dc=com"}, {tag_queries, [ Please guide for the same. |
Beta Was this translation helpful? Give feedback.
-
|
Our Community Support Policy explicitly states that we will not troubleshoot anything LDAP-related for non-paying, non-contributing users. The configuration value encryption feature has been around for years, including recent (months ago) updates to support encrypted values in Start with the Troubleshooting LDAP section and enable LDAP traffic logging to see what the LDAP client really sends. |
Beta Was this translation helpful? Give feedback.
-
I am almost certain that you are encrypting a binary value ( In 4.3, LDAP queries will be configurable in See |
Beta Was this translation helpful? Give feedback.
Our Community Support Policy explicitly states that we will not troubleshoot anything LDAP-related for non-paying, non-contributing users.
The configuration value encryption feature has been around for years, including recent (months ago) updates to support encrypted values in
rabbitmq.conf. We are confident that it works as expected and have multiple test suites to prove it.Start with the Troubleshooting LDAP section and enable LDAP traffic logging to see what the LDAP client really sends.