Back
What is ACME Device Attestation? Laptops, phones, tablets and IoT devices proving their identity to the EZCA cloud certificate authority with device-attest-01

What is ACME Device Attestation?

What is ACME Device Attestation?

If you are familiar with ACME for websites, you might be thinking “ACME for devices? how does that work if devices don’t have DNS or http endpoints?” The answer lies in device attestation, a process where the device proves its identity and the security of its private key to the certificate authority (CA) without relying on traditional web-based challenges. It is a more secure evolution of SCEP, which fun fact, was invented for printers and “dumb devices” to create certificates to join the network and then as any good cybersecurity protocol, it became the default method for automating certificate issuance for most devices.

How ACME Device Attestation Works

Well so we know that traditional ACME challenges like HTTP-01 and DNS-01 won’t work for devices without web endpoints, ACME device attestation introduces a new challenge type called device-attest-01. Here’s how it works:

  1. Your MDM sends the device an ACME payload. Instead of a SCEP profile that depends on a shared password with all other devices, your MDM (for example, through a custom configuration profile in Intune or Jamf, or if you are using this for IoT devices, instead of an MDM it is your code) pushes a configuration that tells the device the CA’s ACME directory URL, the key type and size, the certificate subject, and that the key must be hardware-bound and attested. It also includes a client identifier the CA can use to tie the request back to your MDM.

  2. The device generates its key in hardware. The private key is created inside the Secure Enclave (or TPM) and is marked non-exportable. It never leaves the chip, not even to the operating system.

  3. The device places an order for itself. Instead of asking for www.contoso.com like it would do in the original http or DNS based challenge, the device asks for a certificate for its own permanent identifier, such as its serial number.

  4. The CA responds with a device-attest-01 challenge. Like any ACME challenge, it includes a random token that the device has to bind its proof to. This is what stops an attacker from replaying an old attestation.

  5. The device asks the manufacturer to vouch for it. Depending on the platform, the device either contacts the manufacturer’s attestation service directly (for Apple devices, this is Apple’s attestation servers) or uses a local attestation mechanism with a read-only certificate in its hardware (for example, a TPM-based attestation) that has the hardware-bound key signed by the manufacturer.

  6. The device sends the attestation to the CA. The device posts the signed attestation as its response to the challenge.

  7. The CA verifies the attestation. The CA checks that:

    • The attestation chains up to the manufacturer’s attestation root CA, so it really came from Apple (or the hardware vendor) and not from software pretending to be a device.
    • The token in the attestation matches the challenge it issued, so the attestation is fresh.
    • The serial number in the attestation matches the identifier in the order, so a device can only get a certificate for itself.

    A good CA like EZCA will also check the attested serial number against your MDM to confirm the device is enrolled and compliant before going any further.

  8. The device finalizes the order. The device sends a CSR, and the CA confirms that the public key in the CSR is the same key that was attested. If it isn’t, the request is rejected.

  9. The CA issues the certificate. The device now has a certificate whose private key is provably locked in hardware, and the device renews it the same way before it expires.

If you are like me and read a lot of the cryptography RFCs, the challenge is defined in the IETF’s ACME Device Attestation draft, which is designed to support multiple attestation formats, including TPMs and Android Key Attestation. Today, Apple is the platform shipping it natively: Managed Device Attestation with the ACME payload works on supervised iOS and iPadOS devices and on Apple silicon Macs running macOS 14 or later.

Is Device ACME Attestation Secure?

Yes, device ACME attestation is the most secure way to ensure that a device requesting a certificate is genuinely the device it claims to be and that its private key is securely bound to hardware. By leveraging manufacturer-backed attestation, it mitigates the risks associated with shared secrets and software-only proofs, making it significantly more secure than traditional methods like SCEP. Pair those hardware-bound certificates with EAP-TLS Wi-Fi authentication and an attacker can no longer pull a network credential off a device, because there is nothing to pull.

While the delivery mechanism of ACME itself is secure, make sure you pair ACME attestation with MDM enrollment checks so only your own managed devices can receive a certificate. If you forget to lock down your ACME device enrollment you may be accidently issuing certificates to devices that are outside of your management.

Does Microsoft Cloud PKI Support ACME Device Attestation?

No, Microsoft Cloud PKI does not currently support ACME Device Attestation. Microsoft Cloud PKI can only issue device certificates through Intune using Intune SCEP. To leverage ACME Device Attestation, you would need a CA that specifically supports the ACME protocol and device attestation and can even integrate with your MDM for attestation verification EZCA is the best option for Microsoft Cloud customers that use Jamf or any other MDM.

Can you Setup ACME Device Attestation with Microsoft ADCS?

Currently, Microsoft ADCS does not natively support ACME Device Attestation. While ADCS can issue certificates for devices, it relies on traditional enrollment methods like SCEP (through NDES) or certificates pushed via Group Policy. To leverage ACME Device Attestation, you would need a CA that specifically supports the ACME protocol and device attestation, such as EZCA.

Get Started with ACME Device Attestation

If you are ready to move your managed devices from SCEP to hardware-attested certificates, EZCA, our cloud PKI for Microsoft customers, validates device attestations and checks them against your MDM before issuing a single certificate. Have questions about your environment? Schedule a FREE call with one of our PKI experts and we will walk you through it.