ACME Device Attestation: Strengthening Certificate-Based Security

ACME device attestation keeps attackers out by verifying devices are genuine and trusted via hardware-bound credentials. Before certificate issuance, ACME DA requires signed cryptographic proof that a device is what it claims to be. If a device fails to attest, the request is denied. ACME DA removes easily stolen shared secrets from the verification process. […]

Tie certificates to real-time device trust, not just enrollment.
Key Takeaways
  • ACME device attestation uses hardware-backed methods such as Apple’s Secure Enclave and TPM on Windows devices to verify device authenticity at enrollment.
  • Unlike SCEP, ACME supports real-time, policy-driven certificate decisions, tailoring access based on device posture and compliance.
  • Integrated with MDM and security tools, SecureW2 enables automatic certificate revocation when a device falls out of compliance.

ACME device attestation keeps attackers out by verifying devices are genuine and trusted via hardware-bound credentials. Before certificate issuance, ACME DA requires signed cryptographic proof that a device is what it claims to be. If a device fails to attest, the request is denied. ACME DA removes easily stolen shared secrets from the verification process.

Traditionally, organizations have used SCEP for certificate automation, but the protocol’s reliance on shared passwords proves nothing about hardware and is vulnerable to credential thieves. ACME device attestation is a vastly more secure replacement for SCEP with a strong defense against rogue devices.

We’ll explore how ACME device attestation works, its advantages and what deployment looks like. We’ll also discuss Apple’s Managed Device Attestation (MDA), one of the most widely deployed ACME DA implementations.

What Is ACME Device Attestation?

ACME device attestation (DA) is an extension of the Automated Certificate Management Environment (ACME) protocol. It is a modern replacement for the password-based Simple Certificate Enrollment Protocol (SCEP). As a condition for certificate issuance, ACME DA requires hardware-bound cryptographic proof that a request originated from a known device. If the device proves to be genuine and policy-compliant, the CA can issue a certificate.

ACME device attestation utilizes components like the Trusted Platform Module (TPM) on Windows devices or the Secure Enclave on Apple devices to verify device authenticity. Apple’s implementation of ACME DA, called Apple Managed Device Attestation, uses unique keys stored inside the Secure Enclave and requires verification with Apple’s attestation servers.

ACME DA is especially useful for large device fleets, including IoT fleets, that need certificates issued and renewed without human intervention. IoT fleets are also an important use case for device attestation because they can be susceptible to supply chain attacks that allow untrusted hardware and software to sneak in.

See your security gap before attackers do.

See continuous trust in action on a platform that includes RADIUS, PKI and AI security.

Customize Your Video Demo

Apple Managed Device Attestation (MDA): ACME Device Attestation for Apple Devices

Most major operating systems and device manufacturers support ACME Device Attestation. Apple Managed Device Attestation (MDA) is one of the most widely deployed implementations of ACME DA. With Apple devices, the process includes a real-time verification step with Apple’s attestation servers.

Here’s what happens: the device generates a cryptographic assertion using a key stored in the Secure Enclave (more on that below). That assertion is sent to Apple, which confirms the device’s hardware integrity. The following diagram illustrates how this verification process works.

A diagram showing the Apple MDA process between an Apple device, the Secure Enclave and Apple’s server.

Once Apple verifies the device, SecureW2 receives the attestation result and validates it against information from the device’s MDM. SecureW2 can then use this information to decide whether to issue a certificate, and if so, what kind.

This is not just about granting or denying access. It’s about making data-driven, real-time decisions based on reliable device signals.

A personally owned BYOD device enrolled through MDM using Apple's User Enrollment method might receive a short-lived certificate with limited access. A corporate MacBook enrolled through Automated Device Enrollment might receive a longer-lived certificate with broader privileges, depending on the organization's security policies.

Hardware-Backed Attestation With Secure Enclave

Apple devices use a dedicated subsystem called the Secure Enclave for Apple Managed Device Attestation. This hardware stores cryptographic keys to prove a device’s identity and manufacturer. Crucially, private keys generated inside the Secure Enclave cannot be extracted.

The Secure Enclave is vital in defending against supply-chain attacks and enables organizations to confirm several key things about a device:

  • It is a genuine Apple device.
  • Its UDID (Unique Device ID) for devices not enrolled through User Enrollment.
  • Its Secure Enclave firmware version.
  • Its Secure Boot/SIP status on Apple Silicon Macs.
  • It has certain properties, including its serial number.
  • Its private key is hardware-bound to the device.

What Apple MDA Is and What It’s Not

Jung Park, Director of Solutions Engineering at SecureW2, explains how Apple’s Managed Device Attestation differs from authentication.

“Attestation is a point-in-time statement about hardware integrity, not an ongoing statement about organizational trust.” – Jung Park, Director of Solutions Engineering at SecureW2

Essentially, Apple MDA establishes whether the device is genuine Apple hardware. As Park puts it, “this is a real, untampered iPhone” is a materially weaker claim than “this is a managed, compliant, enrolled device assigned to this user.” Apple MDA confirms that “the hardware identifiers and OS state presented at the moment in time are vouched for by Apple.”

Apple MDA doesn’t tell us the whole story. Does this device belong in your fleet? Does it meet your compliance baseline right now? What about five months later? These are questions device attestation can’t answer.

However, Park identified several PKI policy decisions that can close that gap:

  • Cross-referencing the attested serial and UDID against MDM inventory at issuance for devices not enrolled through User Enrollment
  • Evaluating compliance attributes from the management platform
  • Keeping certificate lifetimes short enough that re-attestation happens on a meaningful cadence
  • Re-evaluating posture at authentication time rather than trusting the issuance decision indefinitely

ACME vs. SCEP: Rethinking Enrollment Protocols

Organizations traditionally used Simple Certificate Enrollment Protocol (SCEP) to automate certificate issuance. But SCEP relies on pre-shared secrets, lacks a strong identity verification model and doesn’t provide visibility into the requesting device’s security posture.

Protocols that don’t use device attestation, such as SCEP and traditional ACME, can’t tell whether a device asking to join your network is genuine and should be trusted. That’s a big Achilles’ heel; organizations can’t easily distinguish trusted devices from untrusted ones or guard against stolen private keys. And unless the CA revokes it, a certificate stays valid until it expires, even if the device later becomes risky or noncompliant.

ACME device attestation addresses these gaps. It doesn’t just check who is requesting the certificate; it confirms what the device is, whether it’s tamper-resistant and whether it adheres to policy. This allows certificates to truly represent the presence of a trustworthy device.

Beyond verifying device identity, attestation results can also inform certificate issuance decisions. Combined with the SecureW2 Policy Engine, ACME enables nuanced decisions during issuance. Certificates can be customized in scope, duration or simply denied, based on real-time trust evaluations. It’s a major step forward from the binary, static logic of SCEP.

See our table below for a feature comparison of SCEP, Dynamic SCEP, ACME and ACME DA.

A table comparing the features of SCEP, Dynamic SCEP, ACME and ACME Device Attestation.

For a more detailed breakdown of how ACME and SCEP differ during certificate enrollment, watch the video below.

Crypto-Agility for the Post-Quantum Future

Post-quantum migration starts with a question many PKI teams can’t answer quickly: which certificates, algorithms, and devices are in use today?

Certificates issued from on-prem servers and scattered scripts can be hard to inventory, and harder to replace when an algorithm changes. A cloud PKI that tracks each certificate by user, device, and key turns that inventory into something you can look up instead of something you have to reconstruct.

SecureW2 JoinNow Dynamic PKI pairs that visibility with support for NIST post-quantum signature algorithms, ML-DSA and SLH-DSA, on dedicated root and intermediate certificate authorities. Teams can keep classical RSA and ECC certificates running in production while they pilot post-quantum issuance in parallel.

See how JoinNow Dynamic PKI supports crypto-agility.

How ACME Device Attestation Works

The certificate enrollment process begins when a device contacts the SecureW2 ACME server. Before issuing a certificate, SecureW2 prompts the device to provide an attestation statement in response to the ACME challenge.

On Apple devices, this triggers the Apple Managed Device Attestation protocol. The Secure Enclave signs the statement, which is then validated by Apple’s attestation service.

The Apple device sends the cryptographic assertion to Apple's attestation servers, which return a signed attestation certificate to the device; the device then submits that attestation certificate to SecureW2. This provides evidence that the device is genuine Apple hardware with a Secure Enclave and includes device properties such as its OS version. SecureW2 then checks with the organization's MDM to verify that the device is managed.

SecureW2 uses this result to inform its policy decision: does this device meet the organization’s trust standards? If so, what access should it have?

The diagram below illustrates this attestation flow.

A diagram showing the SecureW2 JoinNow Dynamic PKI and Apple Managed Device Attestation protocol certificate enrollment process.

This policy-driven model means organizations can go beyond basic enrollment decisions. Devices might be segmented by access tier, use case or security posture, enabled entirely through certificate-based policy enforcement.

Manage Agentic Identities With SecureW2

Security teams can’t govern AI agents they can’t see. As employees connect more tools to company data, shadow AI can grow beyond what IT teams can track or control.

SecureW2 issues each agent a verifiable SPIFFE identity, providing a live inventory of agents, workloads and service accounts, along with their tokens and expiration dates.

Access is scoped to individual resources and rechecked at every renewal using signals from the IdP, MDM and EDR platforms you already run. When an agent drifts out of policy, revoking its certificate cuts off its tokens at the same time.

See how AI agent and non-human identity access helps bring visibility and control to agent identities.

Deploying and Configuring ACME Device Attestation

The following steps outline how to set up and deploy ACME device attestation within your public key infrastructure (PKI).

  1. Prepare your PKI and hardware: First, ensure your CA supports the device-attest-01 ACME challenge, and that your devices support hardware attestation (using, for example, a Secure Enclave or TPM). Then, define policies specifying which manufacturer roots, device models and firmware measurements you’ll accept.
  2. Configure ACME endpoints and RADIUS: Set up an ACME directory URL with the device-attest-01 challenge enabled, securing enrollment traffic over HTTPS with cryptographic request signing (JWS). Then integrate Cloud RADIUS with your CA so EAP-TLS sessions validate the resulting client certificates at authentication.
  3. Automate enrollment and policy: Use ACME clients or MDM profiles (Intune, Jamf) to handle key generation, attestation submission and ACME challenge fulfillment. Automated policies can determine certificate lifetimes and scopes, as well as whether attestation is also required at renewal.
  4. Continuous monitoring: Connect SIEM and EDR tools to the SecureW2 Policy Engine. Changes in posture (losing MDM enrollment, signs of compromise) trigger immediate privilege adjustment or certificate revocation.

ACME and Your IoT Fleet

While SCEP and Dynamic SCEP can add significant workloads for IT teams in environments with many devices, ACME is automated by nature. That’s important for corporate device fleets, but even more significant for networks with dozens or hundreds of IoT devices, each a potential point of entry for an attacker.

ACME is designed for machine-to-machine enrollment, which reduces the odds of manual errors leading to compromised devices. Adding device attestation on top of that closes the final gap in the security profile.

IoT devices may receive less scrutiny than corporate laptops, and their sheer number can overwhelm security teams trying to avoid supply chain attacks.

If your IoT devices must each prove their security posture with hardware-backed keys, the danger of a rogue device or piece of hardware slipping onto the network is substantially lower.

An IETF Internet-Draft (draft-ietf-acme-device-attest-10) extends the ACME protocol with standardized guidelines for device attestation.

The draft is designed to accommodate attestation technologies from multiple vendors and platforms, including Android key attestation, TPM-based attestation and Apple's Managed Device Attestation. It outlines how a device can demonstrate its security posture before receiving a certificate through ACME. This can include proving possession of hardware-backed keys, running approved firmware versions and showing that devices are free from tampering.

A second piece of draft guidance, draft-ietf-acme-rats-03, provides more specifics on what counts as evidence of a device’s identity and state.

The Remote ATtestation procedureS (RATS) framework covers things like how the private key is stored, which firmware version the device is running, whether secure boot is enabled and whether the operating environment meets specific security requirements.

Conducting hardware-backed attestation for every device that asks to join a network will likely become standard for most organizations in the coming years.

The goal is an environment where trust is never assumed, always verifiable and revoked when a device’s security posture changes.

The security plan that scales with you.

Our solutions can scale from mid-market to global enterprises. Compare options and see how our solutions protect you from costly breaches and ensure peace of mind.

Check Our Prices

Troubleshooting Common ACME-DA Issues

Issue

Root Cause

Recommended Fix

TPM/Secure Enclave Failure

Unsupported hardware; outdated firmware

Validate hardware capabilities. Perform firmware updates before enrollment.

Attestation Policy Mismatch

Manufacturer or version attributes fail policy checks

Adjust policy to match supported devices (or remediate posture).

ACME Directory/Challenge Errors

Misconfigured device-attest-01 challenge or draft-spec changes

Verify CA configuration and test challenge negotiation end-to-end.

Post-Issuance Device Drift

Device loses MDM enrollment (or is compromised)

Require re-attestation if policy demands. Enable continuous trust checks.

Continuous Trust Beyond Issuance

Attestation at issuance is critical, but it’s only part of the story. Devices can fall out of compliance after receiving a certificate. That’s why SecureW2 extends ACME Device Attestation with continuous trust validation.

Integrations with security platforms like CrowdStrike, Microsoft Defender, Palo Alto and MDM tools provide real-time telemetry about device risk. If a device becomes compromised or leaves MDM management, JoinNow Dynamic PKI can revoke its certificate automatically, cutting off access before that risk escalates.

If you’re still relying on static certificate issuance, it’s time to rethink your approach. PKI should reflect the state of your devices, not just at issuance, but always.

Want to see how SecureW2 brings device attestation and continuous trust validation together? Schedule a demo to explore JoinNow Dynamic PKI.


Frequently Asked Questions

What is ACME device attestation?

ACME device attestation adds a hardware verification step to automated certificate enrollment. It helps a certificate authority establish whether a certificate request comes from a legitimate device rather than an endpoint pretending to be one.

What is the difference between ACME and ACME device attestation?

Traditional ACME automates certificate issuance and renewal for servers, such as web servers that use TLS certificates. ACME device attestation applies the protocol to managed devices, adding hardware-based identity verification before issuing client certificates. This helps organizations establish trust in the device requesting access to resources such as Wi-Fi and VPN.

Why does a device need attestation?

A certificate authority may require attestation to verify that a device meets its hardware and security requirements before issuing a certificate. This helps prevent certificates from being issued to spoofed or unmanaged devices.

What role does MDM play in ACME device attestation?

Mobile device management (MDM) provides information about a device's management status that can inform certificate issuance decisions. For Apple devices, SecureW2 can validate Apple's attestation result against MDM information to determine whether to issue a certificate and what kind.

How does ACME device attestation differ from SCEP?

SCEP uses pre-shared secrets to automate certificate enrollment, but it offers limited visibility into the requesting device. ACME device attestation adds a way to verify device authenticity before issuing a certificate. It also allows certificate issuance decisions to account for device trust, including whether a certificate should be issued and what privileges it should carry.

Can a device lose trust after receiving a certificate?

Yes. A device might become compromised or lose its MDM management status after enrollment. SecureW2 can use information from connected MDM and security platforms to identify these changes and automatically revoke the device's certificate.