Edit

Revoke certificates and delete policies (preview)

This article shows you how to run certificate lifecycle operations for Azure Device Registry in Azure IoT Hub:

  • Revoke certificates at the device level.
  • Revoke certificates at the policy level.
  • Delete a policy.
  • Delete a credential resource.

Use these procedures when you need to respond to a security event, retire certificate resources, or clean up certificate paths in production.

Important

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

Prerequisites

Before you begin, make sure you have:

Revoke certificates for a device

Use these steps to rotate one device certificate when you need to isolate risk to a single device.

  1. Sign in to the Azure portal.
  2. Open your Azure Device Registry namespace.
  3. Under Namespace resources on the sidebar menu, select Devices.
  4. Select the target device.
  5. Select Revoke device certificates.
  6. (Optional) Select Also disable device after revoking if you need to block device authentication.
  7. Confirm the operation.

Revoke certificates for a policy

Use these steps to rotate a policy issuer when you need to invalidate certificates issued by that policy.

  1. Open your Azure Device Registry namespace.
  2. Under Namespace resources on the sidebar menu, select Credential Policies.
  3. Select the target policy.
  4. Select Revoke certificates, and confirm the operation.

For a standard policy that uses your namespace's root CA, Azure Device Registry rotates the issuing CA and syncs the replacement CA to linked hubs.

For a policy that uses an external root, you cannot revoke the policy on Azure Device Registry as the CRL is also external. You must ensure that the revocation also propagates to that external CA's certificate revocation list (CRL) or OCSP responder. We require that you revoke all of your leaf certificates and then delete your policy.

Delete a policy

Use these steps to remove a policy when you no longer need it for certificate issuance.

  1. Open your Azure Device Registry namespace.
  2. Under Namespace resources on the sidebar menu, select Credential policies.
  3. Select the target policy.
  4. Select Delete policy, and confirm the operation.

Delete a credential resource

Use these steps to remove a credential resource when you need to retire that certificate path.

  1. Open Credential policies in your Device Registry namespace.
  2. Select the credential resource.
  3. Select Delete, and confirm the delete operation.