X.509 certificate based auth on AMQP 1.0 #14167
-
Is your feature request related to a problem? Please describe.According to Access Control - Certificate Authentication, X.509 certificate based auth is possible using the built-in rabbitmq-auth-mechanism-ssl plugin.
Describe the solution you'd likeIt would be nice for this to work for AMQP 1.0 as well. Is this on the roadmap, and what is the timeframe? Additionally, it would be nice if permissions could be derived from an external OIDC identity provider, rather than the built-in user system in RabbitMQ. Describe alternatives you've consideredNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
@inseroaj we do not guess in this community. A problem defined as "this does not seem to work" is not something our team will spend any time on, in particular since our Community Support policy very explicitly states that we won't debug TLS-related behaviors for non-paying users. The x.509 certificate authentication mechanism should work for AMQP 1.0 because it does work for certain Tanzu RabbitMQ-specific features that are based on AMQP 1.0. The mechanism also works for MQTT and STOMP. It's on you to prove with an executable example (use |
Beta Was this translation helpful? Give feedback.
-
The only open source RabbitMQ change that was necessary for an AMQP 1.0-based Tanzu RabbitMQ feature (Schema Definition Sync, a.k.a. the SDS) to work with x.509-based certificate authentication was this change to the Erlang AMQP 1.0 client #11984. The AMQP 1.0 connection implementation did not need any changes. The AMQP 1.0 Erlang client change shipped in We also had to contribute x.509 certificate-based support to some newer clients, such as rabbitmq/rabbitmq-stream-dotnet-client#274. |
Beta Was this translation helpful? Give feedback.
-
A potentially relevant change in the server that expands how the x.509 certificate-based authN can be configured #2984. It shipped in |
Beta Was this translation helpful? Give feedback.
-
And finally, here is a relevant test case in our AMQP 1.0 (server) implementation integration test suites and in the Java AMQP 1.0 client ones. |
Beta Was this translation helpful? Give feedback.
-
A documentation update to make it clear that the |
Beta Was this translation helpful? Give feedback.
-
Thank you for clarifying that. |
Beta Was this translation helpful? Give feedback.
-
For future reference:
|
Beta Was this translation helpful? Give feedback.
The only open source RabbitMQ change that was necessary for an AMQP 1.0-based Tanzu RabbitMQ feature (Schema Definition Sync, a.k.a. the SDS) to work with x.509-based certificate authentication was this change to the Erlang AMQP 1.0 client #11984.
The AMQP 1.0 connection implementation did not need any changes.
The AMQP 1.0 Erlang client change shipped in
4.1.0
and in open source RabbitMQ, primarily affects AMQP 1.0 Shovels. Federation and other features do not use AMQP 1.0.We also had to contribute x.509 certificate-based support to some newer clients, such as rabbitmq/rabbitmq-stream-dotnet-client#274.