Module Authentication with x509 Certificate

Ferry Koolen 0 Reputation points
2024-03-28T13:42:10.4033333+00:00

Hi,

When using the Microsoft.Azure.Devices.Client library it is really easy to set up device connections with x509 certificates through the use of the DeviceAuthenticationWithX509Certificate class. However the library does not provide any logic to connect modules using x509 certificates.

I found this issue on GitHub from a while back where someone else had the same question and it is said that microsoft was planning to add support. However is has been almost 3 years so i'm not holding my breath.

I'm able to get it working by editing the package myself and adding a ModuleAuthenticationWithX509Certificate class with minimal work. So I was wondering if there is a reason why microsoft is not officially supporting this approach in their nuget package. Is there maybe another way to connect modules using x509?

I'm really not looking forward to maintaining our own version of the nuget package.

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.