Azure / azure-iot-sdk-csharp

A C# SDK for connecting devices to Microsoft Azure IoT services
Other
464 stars 493 forks source link

[Technical Question] Device provisioned with DPS always shown as "X509 self-signed" instead of "Certificate Authority" #3360

Open theob7 opened 1 year ago

theob7 commented 1 year ago

Hello !

I try to set an Azure DPS with authentication type "x509 CA certificate". For testing, I'm using the iot-sdk-csharp and follow this sample.

Everything works except IoT hub shown devices provisioned with DPS as "X509 self-signed" instead of "Certificate Authority". image

With devices directly created on IoT Hub (NOT via DPS), authenticated type are set to Certificate Authority. This is the behavior I want to reproduce with devices created from DPS. image

My DPS enrollment group settings: image

Do you know what I have to change in DPS for my devices to appear with "Certificate Authority" authentication type ?

Thank you for your help. Have a nice day.

Théo