am facing ( [warning] <0.830.0> HTTP access denied:) tried to implement the RabbitMQ(Docker Container) with LDAP Authentication.
steps followed as per the below, kindly suggest anything missing or suggest how to solve the HTTP Access Denied ....
Option-A
1. Run the container docker run -d --hostname my-rabbit --name MfgiotRabbitmq -p 15672:15672 -p 5672:5672 -p 1883:1883 -p 389:389 rabbitmq:3.9-management
2. prepare the rabbitmq.config
[
{rabbit, [
{auth_backends, [rabbit_auth_backend_ldap]}
]},
{rabbitmq_auth_backend_ldap, [
{servers, ["corporate server name"]},
{user_dn_pattern, "CN=${username},OU=Standard,OU=Users,DC=cor,DC=cor,DC=com"},
{port,389},
{tag_queries, [
{administrator, {constant, false}},
{management, {constant, true }}
]}
]}
].
3. copy the file to container at location of /etc/rabbitmq
4. Restart the container
5. enable the plugin: rabbitmq-plugins enable rabbitmq_auth_backend_ldap
6. i am getting HTTP Access denied warning while trying to enter the username from the rabbitmq console
option-B
1. Run the container docker run -d --hostname my-rabbit --name MfgiotRabbitmq -p 15672:15672 -p 5672:5672 -p 1883:1883 -p 389:389 rabbitmq:3.9-management
2. prepare the rabbitmq.conf
auth_backends.1 = ldap
auth_ldap.servers.1 =
query.jdnet.deere.com auth_ldap.user_dn_pattern = CN=${username},OU=Standard,OU=JDUsers,DC=jdnet,DC=deere,DC=com
auth_ldap.use_ssl = false
auth_ldap.port = 389
auth_ldap.log = false
3. prepare the advanced.config
[{rabbitmq_auth_backend_ldap,[
{tag_queries, [{administrator, {constant, false}},
{management, {constant, true}}]}
]}].
5. copy the both files in to container at location of /etc/rabbitmq
6. restart the container.
7. enable the plugin: rabbitmq-plugins enable rabbitmq_auth_backend_ldap
6. i am getting HTTP Access denied warning while trying to enter the username from the rabbitmq console