Hi @Andrea Previtali Just wanted to check if you have looked into the article Authenticate identities with X.509 certificates.
This article describes how to use X.509 certificate authority (CA) certificates to authenticate devices connecting to IoT Hub, which includes the following steps:
- How to get an X.509 CA certificate
- How to register the X.509 CA certificate to IoT Hub
- How to sign devices using X.509 CA certificates
- How devices signed with X.509 CA are authenticated
The article refers using Bash commands to generate leaf certificates which can be used in the link - IoT Leaf device certificates
Kindly go through the article and let us know if you have any issues or need further clarification.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.