fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Support ACME as a protocol for MDM certificate generation

Open dherder opened this issue 2 years ago • 9 comments

  • @allenhouchins: customer-cisneros will eventually want ACME for iOS/iPadOS but its not a priority for them right now. SCEP is fine for mobile devices. They want to prioritize ACME on macOS because it gives the security team the additional assurance the cert can't be extracted from the device — which is a lesser concern for them on mobile devices.
  • @allenhouchins: Is this as valuable as people think it is?
    • Apple validates that the device is owned by the company. Only these devices get a cert. But as soon as you support BYOD or Windows, then you're exposing yourself to the same risk that existed before ACME.
    • Most valuable part: We think ACME certs are "non-exportable". For SCEP, if you disable SIP and have the private key then you can do bad things if you export the certificate.
  • @noahtalerman: customer-antonella promise.
  • @noahtalerman: customer-rosner promise. https://fleetdm.slack.com/archives/C0891RE11SP/p1744660401662859?thread_ts=1744646437.396789&cid=C0891RE11SP
    • customer-antonella: We're interested in ACME support to enhance our macOS security posture. The hardware-binding capabilities would help us ensure device identities can't be compromised and would give us better cryptographic verification of device integrity.
  • @allenhouchins: Hardware device attestation
  • @noahtalerman: User requested this because they want Fleet to adopt ACME instead of SCEP for certificate enrollment, aligning with Apple's direction toward more secure, identity-aware protocols. ACME offers support for hardware device attestation. This means that only the hardware purchased by the organization can enroll to the MDM solution. Meaning only those devices can get access to org data.
    • @noahtalerman: Uses something that's burned into the hardware so no one can spoof the device using something like a serial number.
    • @noahtalerman: Eventually Fleet should support ACME (Automated Certificate Management Environment) for issuing enrollment certificates, enabling stronger device identity verification and compatibility with Apple's recommended best practices. This could also unlock future support for managed device attestation workflows via ACME without requiring customers to deploy their own ACME server. See: Decoding ACME vs SCEP and ACME-managed device attestation.
  • @allenhouchins: Outside of Fleet, IT Admins can use ACME to auto-login end users to corporate services (i.e. VPN): https://www.youtube.com/live/nwYvy-bZ3GE?si=43CWCj_tnKuG5QvT&t=947

dherder avatar Dec 12 '23 23:12 dherder

Alex: This might contribute to Fleet becoming FIPS compliant for macOS MDM features.

noahtalerman avatar Jun 21 '24 20:06 noahtalerman

https://developer.apple.com/documentation/devicemanagement/acmecertificate

dherder avatar Aug 27 '24 15:08 dherder

discussed with customer-rosner and okay to push to 2025

zayhanlon avatar Sep 12 '24 14:09 zayhanlon

User story: As a Apple-conscious (±security conscious) IT engineer, I want Fleet to use the latest protocol that Apple says is the most secure.

Decoding ACME vs SCEP: Key Differences Explained

  • This one explains the pros of going with ACME: https://smallstep.com/blog/acme-managed-device-attestation-explained/

Background

What is the ACME Protocol? As the name implies, ACME (Automated Certificate Management Environment) protocol is a recent protocol that automates the entire lifecycle of digital certificates from issuance to renewal/revocation by eliminating human interventions.

The Internet Security Research Group (ISRG) initially developed the ACME protocol for their public certificate service, Lets Encrypt. Recently ACME was published as an Internet Standard in RFC 8555 by the IETF working members of ISRG. Since then, it has seen adoption, especially in the networking domain, such as the support of multiple CAs (Certificate Authority).

ACME has been the new talk of the town, primarily due to its ability to revolutionize the certificate issuance process by automating the entire process.

Problem

SCEP doesn't allow for Identity checking, ACME does (high level benefit)

Side benefit: if the enrollment certificate was ACME issued, then we could also leverage the ACME protocol for device attestation, all within Fleet (the customer doesn't have to deploy their own ACME infra).

noahtalerman avatar Jun 09 '25 18:06 noahtalerman

FYI @JordanMontgomery @gillespi314 I pulled our plan out of the design review doc:

Image

If you think we want to do it differently, please bring that up at the next #g-mdm design review!

noahtalerman avatar Feb 20 '26 21:02 noahtalerman

Hey @kc9wwh we shipped this for Apple Silicon macs that enroll via DEP. Here's how to turn it on: https://fleetdm.com/docs/configuration/yaml-files#:~:text=).-,apple_require_hardware_attestation,-specifies%20whether%20or.

We think this fulfills antonella's needs—please let us know if you see anything missing.

FYI @zayhanlon @pintomi1989 @andreasn-work

melpike avatar Apr 30 '26 17:04 melpike

Hey @kc9wwh we shipped this for Apple Silicon macs that enroll via DEP. Here's how to turn it on: https://fleetdm.com/docs/configuration/yaml-files#:~:text=).-,apple_require_hardware_attestation,-specifies%20whether%20or.

We think this fulfills antonella's needs—please let us know if you see anything missing.

FYI @zayhanlon @pintomi1989 @andreasn-work

Updated assignment to @pintomi1989 (rosner) and @andreasn-work (antonella). 🖖🏻

kc9wwh avatar Apr 30 '26 17:04 kc9wwh

Note: Notified customer-rosner

pintomi1989 avatar May 13 '26 17:05 pintomi1989

ACME aids device trust, In Fleet's embrace, security's thrust. Peace in code, we adjust.

fleet-release avatar May 18 '26 16:05 fleet-release