The SASL EXTERNAL mechanism, enabled by rabbitmq-auth-mechanism-ssl, lets AMQP clients authenticate to RabbitMQ using x509 (TLS/SSL) client certificates, mapping user identity from the DN (e.g., CN or SAN).
SASL EXTERNAL mechanism cannot be applied to the Prometheus plugin’s HTTP/HTTPS endpoint.
All supported RabbitMQ versions.
SASL EXTERNAL via rabbitmq-auth-mechanism-ssl only applies to AMQP and is not available for HTTP endpoints. The Prometheus plugin allows mTLS for connection security only—not for user identification or authorization.
Workaround:
1. Use HTTP basic authentication or a trusted reverse proxy for the Prometheus /metrics endpoint.
2. Restrict endpoint access using network controls (e.g., subnets, firewalls, or IP allowlists).