Azure / Azure/azure-iot-sdk-csharp
[Technical Question] Device provisioned with DPS always shown as "X509 self-signed" instead of "Certificate Authority"
- Dominant language
- C#
- Stars
- 477
- Forks
- 492
- Avg merge
- 9h 55m
- Merged PRs (30d)
- 2
Description
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](https://github.com/Azure/azure-iot-sdk-csharp/tree/previews/v2/provisioning/device/samples/solutions/BestPracticeSampleX509).
Everything works except **IoT hub shown devices provisioned with DPS as "X509 self-signed" instead of "Certificate Authority"**.

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.

My DPS enrollment group settings:

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
Contributor guide
Research direction
Start with the linked BestPracticeSampleX509 sample and review the reported DPS enrollment group settings. Compare the authentication type shown for DPS-provisioned devices with devices created directly in IoT Hub, then determine whether a DPS setting or service behavior accounts for the difference. Done means identifying the required change or confirming the expected authentication type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- authentication, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100