Skip to content

Commit f72652f

Browse files
authored
Update tutorial-custom-hsm-enrollment-group-x509.md
Added optional section to verify a CA certificate using Bash sample script - (Optional) Manual verification of root certificate
1 parent 7c9623f commit f72652f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

articles/iot-dps/tutorial-custom-hsm-enrollment-group-x509.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,19 @@ To add the root CA certificate to your DPS instance, follow these steps:
771771
772772
:::image type="content" source="./media/tutorial-custom-hsm-enrollment-group-x509/verify-root-certificate.png" alt-text="Screenshot that shows the verified root C A certificate in the list of certificates.":::
773773
774+
## (Optional) Manual verification of root certificate
775+
If you didn't choose to automatically verify the certificate during upload, you manually prove possession:
776+
777+
1. Select the new CA certificate.
778+
779+
1. Select Generate Verification Code in the Certificate Details dialog.
780+
781+
1. Create a certificate that contains the verification code. For example, if you're using the Bash script supplied by Microsoft, run `./certGen.sh create_verification_certificate "<verification code>"` to create a certificate named `verification-code.cert.pem`, replacing `<verification code>` with the previously generated verification code. For more information, you can download the [files](https://github.com/Azure/azure-iot-sdk-c/tree/main/tools/CACertificates) relevant to your system to a working folder and follow the instructions in the [Managing CA certificates readme](https://github.com/Azure/azure-iot-sdk-c/blob/main/tools/CACertificates/CACertificateOverview.md) to perform proof-of-possession on a CA certificate.
782+
783+
1. Upload `verification-code.cert.pem` to your provisioning service in the Certificate Details dialog.
784+
785+
1. Select Verify.
786+
774787
## Update the certificate store on Windows-based devices
775788
776789
On non-Windows devices, you can pass the certificate chain from the code as the certificate store.

0 commit comments

Comments
 (0)