Summary

  • RFC 8555, March 2019, defines ACME: certificate issuance automated down to a machine proving it controls a name, with no human in the loop.
  • The proof is deliberately mundane. With HTTP validation the server "challenges the client to provision a file at a specific path, with a specific string as its content".
  • The DNS variant asks for a TXT record "containing a designated value for a specific validation domain name", so the same idea works for names with no web server at all.

The bottleneck was never the cryptography

By the time anyone got round to automating certificates, the maths had been finished for years. The hard part was the queue: a form, a business register, an email to an address somebody already owned, and a wait measured in days.

ACME goes after the queue, not the cryptography. It asks the applicant for one small, checkable act and hands the checking to software. That is the entire trick, and it is why a certificate stopped being an event.

Prove control, not identity

The protocol never asks who you are. It asks whether you can put a value where the name says you can put it, right now, and it is specific about which paths and which records count.

That moves trust from the filing cabinet to observable state. A record describes; a check tests. ACME chose the check. A registrar entry can be years stale and nobody notices; a file served from the name this second is harder to argue with.

Authorisations are objects with a lifetime

An authorisation is a first-class object with a status: pending until the client answers, valid once the proof lands, invalid when the window shuts. Certificates are issued against authorisations that are valid at that moment, not against a relationship that was valid once.

Expiry is built in from the start. A proof is not a permanent credential, so the safe default becomes "prove it again" — and renewal stops being a calendar event and becomes a background process nobody has to remember.

Replay protection, because every request is signed and re-sendable

Every request is a signed message, and a signed message can be copied by anyone who sees it. So the protocol carries a nonce and insists on a fresh one, which means a replayed request dies even though its signature is flawless.

This is the least glamorous and most load-bearing part of the design. Without it, an automated protocol is just an automated way to repeat somebody else's request.

The lesson about proofs

Verification cheap enough to run in software changes what gets verified, how often, and by whom. ACME made lifetimes short and proofs routine, and the certificate stopped being a trophy and became a consumable — which is what a thing with an expiry date ought to be.

The general lesson is not subtle. When a trust decision can be reduced to a fact a machine can check, check it constantly, and build the credential to expire. A proof that costs nothing to produce has no business lasting for years.