Back
SCEP vs ACME for Jamf: an old SCEP boxer faces off against ACME dynamite to decide which certificate protocol to use for Jamf-managed Apple devices

SCEP vs ACME: Which One Should You Use for Jamf Device Certificates?

SCEP vs ACME for Jamf Which One Should You Use?

In Jamf, there are two ways to issue certificates to devices: using SCEP (Simple Certificate Enrollment Protocol) or ACME (Automated Certificate Management Environment). If you don’t feel like reading the whole article, here’s the short version: SCEP is the older protocol designed for printers with a lot of limitations, while ACME with Managed Device Attestation is the modern, more secure approach for issuing certificates to Jamf-managed Apple devices so if your CA supports ACME, use ACME for device attestation, if you are using an older CA that only supports SCEP, look at migrating to a more modern ACME based CA such as EZCA.

What is SCEP and How Does Jamf Use It?

SCEP (Simple Certificate Enrollment Protocol) is an older protocol designed to automate the issuance of certificates to devices, particularly those without user interfaces like printers. When MDMs such as Jamf Pro started managing mobile devices, SCEP became the standard protocol for enrolling devices and issuing certificates automatically. Basically Jamf tells your device “go to that SCEP server and request a certificate, using this password” and the device will go and use the password to obtain the certificate. This process relies on a shared secret (the password) to authenticate the device to the SCEP server (which if you follow our podcast you know that shared passwords are never a great idea), but in the early days, as long as the devices could issue the certificate without the user needing to do anything manually, it was good enough for the time. However, as security requirements have evolved and devices have become more sophisticated, the limitations of SCEP have become more apparent, prompting the adoption of more secure alternatives like ACME with device attestation.

Static vs Dynamic SCEP Challenges in Jamf

Dynamic SCEP challenges in Jamf are the more secure option compared to static challenges. With dynamic challenges, instead of all devices using the same shared secret, Jamf has a username and password in the SCEP CA, and before telling each device to go get a certificate, it gets a unique challenge for that device. This ensures that even if one device’s challenge is compromised, it does not affect the security of other devices.

Static SCEP challenges, on the other hand, use the same shared secret for all devices. This means that if the shared secret is ever exposed, all devices using that secret are at risk. While static challenges are simpler to set up, they are less secure and are generally not recommended for modern deployments.

Where SCEP Falls Short

SCEP falls short in several key areas (and not because the protocol itself is fundamentally flawed, it just wasn’t designed for what we are using it, and it was first released before 80% of the Keytos employees were even born). Firstly, it relies on passwords (either for the dynamic challenge retrieval or the static shared secret), which can be a security risk if the secret is exposed. Secondly, there is nothing stopping a malicious or compromised device from requesting certificates it shouldn’t have access to, basically if you have the password, you can issue any certificate you want. Lastly, while SCEP might be considered “good enough” by some in the industry (I am looking at Microsoft Cloud PKI that does not support ACME yet), ACME is simply better and more secure, so if your MDM, devices, and CA support ACME, it is the recommended choice for modern deployments.

What is ACME and How Does Jamf Use It?

ACME (Automated Certificate Management Environment) is a modern protocol designed to automate the issuance and management of certificates in a secure and scalable manner In this context, we are talking about ACME device attestation, not ACME for websites. Unlike SCEP, ACME does not rely on shared secrets for device authentication. Instead, it uses cryptographic challenges to prove that the device is an Apple device (including its model and unique identifiers) and that its private key is securely stored in hardware. This makes ACME with device attestation a much more secure and reliable method for issuing certificates to Jamf-managed Apple devices.

How Managed Device Attestation Proves the Device Is Real

When a Jamf-managed Apple device attempts to get a certificate using ACME, the CA first issues a cryptographic challenge to the device (this is basically the server saying, if it is really you, sign this unique number with your private key). The device then responds with proof that it is a genuine Apple device with a valid attestation from Apple saying the device is authentic and that its private key is securely stored in hardware. This process, known as device attestation, ensures that only legitimate devices can obtain certificates, significantly enhancing the security of the certificate issuance process.

SCEP vs ACME: Side-by-Side Comparison for Jamf

If you are the type of person that skips straight to the table (no judgment, I do it too), here is how SCEP and ACME with device attestation stack up for Jamf-managed devices:

SCEP ACME with Device Attestation
How the CA trusts the request A static or dynamic challenge password from Jamf A signed attestation from Apple
Proves which device is asking No, anyone with the challenge can request a certificate Yes, Apple vouches for the serial number and UDID
Proves the private key is in hardware No Yes, the key is generated in the Secure Enclave
Private key can be exported Depends on the profile settings No, the key is hardware-bound and non-exportable
Device support Every Apple device Jamf can manage iOS 16, iPadOS 16.1, macOS 14, and tvOS 16 or later on supported hardware
CA support Almost every CA (including ADCS through NDES) Only modern CAs that support device-attest-01
What happens if the secret leaks An attacker can request certificates until you rotate it Nothing, there is no secret to leak

The short version is that SCEP proves your MDM approved a request, while ACME proves the request came from a real Apple device with its key locked in hardware. One of those is a password, and the other is cryptographic proof from the hardware manufacturer.

Which Apple Devices and OS Versions Support ACME in Jamf?

This is where ACME device attestation gets a little picky. To use Managed Device Attestation, your devices need to meet Apple’s minimums:

  • iPhone: iOS 16 or later, with an A11 Bionic chip or later
  • iPad: iPadOS 16.1 or later, with an A11 Bionic chip or later
  • Mac: macOS 14 or later, Apple silicon only (sorry Intel Macs, it’s time)
  • Apple TV: tvOS 16 or later, with an A11 Bionic chip or later

On the Jamf side, you deploy ACME as an ACME Certificate payload in a configuration profile, so make sure you are on a recent version of Jamf Pro. The easiest way to figure out how much of your fleet is ready is to create a Smart Group in Jamf that filters by OS version and architecture. That Smart Group will come in handy later when we start migrating.

One thing to keep in mind: because the key lives in the Secure Enclave, Apple removes any configuration with a hardware-bound ACME key when the device is restored. That is exactly what you want from a security standpoint (a restored device is a new device), but it does mean the device has to get a fresh certificate from Jamf after a restore.

When Should You Still Use SCEP in Jamf?

I am not going to pretend SCEP is going away tomorrow. There are still a few cases where SCEP is the right (or only) answer:

  • Intel Macs: Managed Device Attestation is Apple silicon only, so your Intel Macs will need to stay on SCEP until they are replaced.
  • Older OS versions or hardware: Devices that can’t run iOS 16, iPadOS 16.1, or macOS 14 (or that have a chip older than the A11) can’t do device attestation.
  • Your CA does not support ACME device attestation: If your CA only speaks SCEP (looking at you, ADCS with NDES), you are stuck with SCEP until you move to a modern CA.

If you do have to use SCEP, please use dynamic challenges instead of static ones, and make sure your CA validates what it is issuing instead of signing anything that shows up with the right password. Our post on the best SCEP certificate authorities for Jamf covers what to look for.

When Should You Use ACME in Jamf?

For everything else. If your device is on a supported OS with supported hardware and your CA supports ACME device attestation, there is no reason to keep using SCEP. You get a certificate that is provably tied to a real device, a private key that can’t be exported, and no shared secret sitting in a configuration profile waiting to be stolen.

This is especially true for certificates you use for network access. If a certificate gets someone onto your corporate Wi-Fi or VPN, you want to be absolutely sure it lives on a device you manage and can’t be copied to a device you don’t. That is exactly the guarantee SCEP can’t give you and ACME device attestation can.

How to Move Your Jamf Devices from SCEP to ACME

The good news is that you don’t have to do a big bang migration. You can run SCEP and ACME side by side and move devices over as they become eligible:

  1. Make sure your CA supports ACME device attestation. If you are using EZCA, you can use the same CA for both your SCEP and ACME certificates, so your RADIUS server and other relying parties keep trusting the new certificates without any changes.
  2. Create a Smart Group for eligible devices. Filter by OS version and Apple silicon (for Macs) so you only target devices that can do device attestation.
  3. Create a new configuration profile with the ACME Certificate payload. Point it at your CA’s ACME directory URL, set the key to ECSECPrimeRandom 256 or 384 bit with hardware-bound and attestation enabled, and add your Wi-Fi or VPN payload to the same profile, using the ACME certificate as its identity.
  4. Pilot it. Scope the new profile to a small pilot group first and confirm those devices get their certificates and connect to the network.
  5. Swap the profiles. Scope the ACME profile to your eligible Smart Group and exclude that same Smart Group from your old SCEP profile. Jamf removes the SCEP profile and installs the ACME profile, so each device ends up with exactly one Wi-Fi configuration.
  6. Keep SCEP for the stragglers. Your Intel Macs and older devices stay on the SCEP profile, and as they get replaced, they automatically fall into the ACME Smart Group.

Using Jamf Certificates for Wi-Fi, VPN, and 802.1X Authentication

Whether your certificates come from SCEP or ACME, the most common reason to issue them in Jamf is network access. With EAP-TLS, your devices authenticate to Wi-Fi and wired 802.1X networks using their certificate instead of a password, so there is nothing for users to type, forget, or get phished out of. Our ultimate guide to certificate-based Wi-Fi for Jamf-managed Apple devices walks you through the whole setup, and if you want a refresher on how EAP-TLS works, check out our post on Wi-Fi certificate-based authentication with EAP-TLS and RADIUS.

Of course, to do EAP-TLS you need a RADIUS server. EZRADIUS, our cloud RADIUS service, authenticates your devices with their certificates without you having to maintain NPS or FreeRADIUS servers (and without being the villain of the office when the RADIUS server goes down). The same certificates also work for VPN: just reference the certificate payload as the identity in your VPN payload.

Get Started with SCEP and ACME Certificates for Jamf

If you are ready to move your Jamf devices to ACME device attestation (or you just need a SCEP CA for Jamf that is not held together with duct tape and NDES), EZCA supports both protocols from the same cloud CA, so you can migrate at your own pace. You can follow our docs to set up SCEP certificates in Jamf Pro, or if you want help planning your move to ACME, schedule a FREE call with one of our PKI experts.