Missing documentation on how to authenticate Module identities with X.509 #111494
Labels
assigned-to-author
doc-enhancement
escalated-content-team
used when escalating an issue to content team
iot-hub/svc
Pri2
triaged
There is missing documentation on how to authenticate a Module using X.509: the CN must match the “Module Identity Name” exactly as listed in Portal:
EDIT: following issue was solved by @FaehnrichLE in Azure/azure-iot-sdk-c#2506 (reply in thread)
The problem is that OpenSSL will not allow a “/” character in the name. I have tried in multiple ways but I keep getting an error:The above command fails due to missing
/
before CN:openssl req -new -key chain1levelclient1m1ss_key.pem -out chain1levelclient1m1ss.csr -subj '/CN=chain1levelclient1\/chain1levelclient1m1'
should work as expected.I have successfully used CFSSL instead (also using OpenSSL internally) to generate a properly formatted certificate:
See https://github.com/CIPop/certificates for my CFSSL scripts that can be modified to generate these certificates:
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: