Edit

Create or edit a certificate policy

The certificate policy defines the issuance characteristics of an intermediate certificate authority. Use a certificate policy to set the validity period for device certificates that the intermediate CA issues. Each intermediate certificate authority can have up to one certificate policy.

Enrollments in Device Provisioning Service (DPS) reference certificate policies to determine which intermediate CA should issue the certificate and how the certificate is issued.

Important

Azure IoT Hub with Azure Device Registry integration and Microsoft-backed X.509 certificate management is in public preview and isn't recommended for production workloads. For more information, see FAQ: What is new in IoT Hub?.

Prerequisites

Before you begin, ensure you have the required setup and permissions so you can create an intermediate CA and sign it with an external CA.

Create a certificate policy

  1. On the Certificate Authorities page, select the intermediate certificate authority that you want to create a policy for.
  2. Select Create Policy.
  3. Enter a name for the policy.
  4. Define the validity period for certificates issued by the intermediate certificate authority.
  5. Select Save.

Select a certificate policy in your DPS enrollment

  1. Go to the Device Provisioning Service instance linked to this namespace.

  2. Under Settings, select Manage enrollments.

  3. Select your enrollment.

  4. Under Certificate policies, select your intermediate certificate authority and then select your certificate policy.

    reference-a-certificate-policy-in-your-enrollment

  5. Review the changes and then select Save.

Edit the policy validity period

  1. On the Certificate Authorities page, select the intermediate certificate authority you want.

  2. Under Certificate Policies, select the certificate policy you want.

  3. Select edit next to Validity period.

    edit-a-certificate-validity img

  4. Change the validity period, and then select Save.

  5. Refresh the page and verify that the new validity period appears.

Next steps

Certificate management overview