Amblem
Furkan Baytekin

ACME Protocol Explained: How HTTPS Certificates Are Issued Automatically

ACME protocol automatic SSL certificate guide

ACME Protocol Explained: How HTTPS Certificates Are Issued Automatically
94
4 minutes

If you’ve used Let’s Encrypt, Caddy, Certbot, or Cloudflare Tunnel, you’ve already relied on ACME — even if you never touched it directly.

ACME is the reason HTTPS can be automated today. This post explains what the ACME protocol is, why it exists, and how it actually works under the hood.


What Is ACME?

ACME stands for Automatic Certificate Management Environment.

It’s an open protocol that allows a server to:

All without human interaction.

Before ACME, certificate issuance was manual, slow, and error-prone. ACME turned TLS into an API.


Why ACME Exists

Old world:

Modern world:

text
cert expires → ACME renews → no downtime

ACME exists to make HTTPS:

That’s how Let’s Encrypt made HTTPS ubiquitous.


Who Uses ACME?

If a tool says “automatic HTTPS”, it’s almost certainly using ACME.


High-Level Flow

ACME is a client–server protocol.

Flow:

  1. Client asks for a certificate
  2. CA says: “prove you control this domain”
  3. Client completes a challenge
  4. CA verifies it
  5. Certificate is issued
  6. Client installs it
  7. Client renews it later automatically

Domain Validation Challenges

ACME doesn’t care who you are. Only one question matters:

“Do you control this domain?”

HTTP-01

Simple, common, but not great behind firewalls.


DNS-01

More complex, but more powerful.


TLS-ALPN-01


Why Certificates Are Short-Lived (90 Days)

This is intentional.

Short lifetime means:

ACME assumes:

“If renewal isn’t automated, you’re doing it wrong.”


ACME and Security

ACME itself does not weaken TLS.

The only difference:

Which actually reduces mistakes.


ACME vs “Buying a Certificate”

There’s no technical difference in trust.

Browser sees:

Valid certificate Trusted CA Correct domain

It doesn’t care whether:

Trust comes from the CA, not the workflow.


Where ACME Stops

ACME handles:

ACME does not handle:

That’s by design.


Final Thoughts

ACME is one of those rare protocols that:

Most HTTPS today exists because ACME made certificates boring — and boring is exactly what security infrastructure should be.

If HTTPS feels automatic now, that’s not magic. That’s ACME doing its job.


Album of the blog:

Suggested Blog Posts