rabbitmq_auth_mechanism_ssl plugin login request default to guest user #2724
-
Hi, RabbitMQ version - 3.8.9 I am fairly new to rabbitmq and was trying to switch my rabbitmq authentication from custom-http-backend to ssl-authentication. I have tried with rabbit_auth_backend_internal auth_backend. The user is able to log in but the request log in rabbitmq shows the user as guest. Even though I have set ssl config to get name from common_name from client certificate. rabbitmq log
Available connections list output and openssl client certificate subject
Configuration
Enabled plugins
If I remove loopback_users config then as expected it gives an error that guest is only allowed to login via localhost. Although the request should be of ssltest user. I expected the user to be ssltest but no matter what I try its still comes as guest in logs. Any help appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You still have
enabled. If earlier mechanisms or backends refuse authentication, the latter will be tried. Modern versions log a reasonable amount of information at |
Beta Was this translation helpful? Give feedback.
-
RabbitMQ only supports certificates in the PEM format. The file name should not matter in theory but we have no details on how the certificates were generated. Besides sharing log at |
Beta Was this translation helpful? Give feedback.
-
This was discussed in our community Slack. Looks like the client library used does not support the |
Beta Was this translation helpful? Give feedback.
This was discussed in our community Slack. Looks like the client library used does not support the
EXTERNAL
authentication mechanism.