Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork101
Feature Request: Allow Extraction of Client TLS Certificate (CN/SAN) at rmqtt-net or Plugin Layer in MQTT Context#312
-
Enable the extraction of the client’s TLS certificate (specifically the Common Name (CN) or Subject Alternative Name (SAN)) at the rmqtt-net (network/socket) layer, and use this information to initialize the MQTT context (v3 or v5) with a known username. This is particularly important for certificate-based authentication and identity mapping, especially since the current ConnectInfo and Session structs in the plugin API do not expose TLS context or certificate details or I might be missing something. I think this enables plugins and authentication logic to reliably use certificate-derived identities. It would be great to hear if there is a work-around in that case. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Replies: 2 comments
-
I have created pull request for the poc. |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 1
-
Thanks a lot for submitting this PR! I really appreciate your effort. I will carefully review the code and consider merging it as soon as possible. |
BetaWas this translation helpful?Give feedback.