ssl-guides 2026-12-02 ⏱ 4 min read

What Is the ACME Protocol? How It Works

What Is the ACME Protocol? How It Works

The ACME protocol (Automatic Certificate Management Environment, RFC 8555) lets software request, validate and renew SSL certificates from a certificate authority (CA) without manual steps. Before ACME, getting a certificate meant generating a CSR by hand, emailing or uploading it, waiting for approval and pasting files into a server. ACME turns that into an API conversation that a script can finish in seconds.

Let's Encrypt is a free CA built around ACME, and it helped make HTTPS normal. Other CAs, including ZeroSSL, also support it, which is why one client can often work with several providers.

What the ACME protocol actually does

The protocol solves two problems: proving you control a domain, and delivering the signed certificate. A client (such as Certbot, acme.sh or Caddy) holds an account key. It uses that key to sign every request to the CA, so the CA can tie orders to one account without a password.

The ACME protocol order flow, step by step

  1. The client registers an account with the CA by sending its public key.
  2. The client creates an order listing the domain names it wants on the certificate.
  3. The CA replies with one authorization per name, each offering one or more challenge types.
  4. The client picks a challenge, publishes the proof the CA asked for, and tells the CA it is ready.
  5. The CA checks the proof from the outside. If it passes, the authorization becomes valid.
  6. The client sends a CSR. The CA signs it and returns the certificate chain for download.

The three challenge types

A challenge is the test that proves domain control. Each one fits a different setup.

ChallengeWhere the proof goesWildcardsBest for
HTTP-01A file under /.well-known/acme-challenge/ on port 80NoOrdinary web servers
DNS-01A TXT record at _acme-challenge.example.comYesWildcards, servers behind firewalls
TLS-ALPN-01A special certificate on port 443NoSetups where port 80 is closed

For deeper detail see our guides to DNS-01 with Let's Encrypt and to getting a free wildcard certificate.

What a client run looks like

With Certbot on a server running Nginx, one command handles the account, the challenge and the install:

sudo certbot --nginx -d example.com -d www.example.com
sudo certbot renew --dry-run

The second command tests renewal without issuing anything. Certbot normally installs a timer that runs renewal on its own, so you do not repeat the first command.

Why renewal matters more than issuance

ACME was designed around short-lived certificates. Let's Encrypt certificates last 90 days today, 64 days from 10 February 2027 and 45 days from 16 February 2028 (Let's Encrypt announcement). The CA/Browser Forum cuts the maximum for all public certificates to 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029 (ballot SC-081v3). Short lifetimes limit the damage from a leaked key and force automation, which removes the classic outage where someone forgets a yearly renewal. Our Certbot renewal guide covers the timer setup, and the 47-day lifetime guide explains where certificate lifetimes are heading.

Common ACME protocol problems

  • The challenge fails because port 80 is blocked by a firewall or the DNS record points at the wrong server.
  • A CDN or redirect rule intercepts the challenge path before it reaches the file.
  • DNS-01 fails because the TXT record has not propagated yet, or an old record is still cached.
  • Rate limits stop repeated failed attempts. Use the CA's staging environment while testing. Let's Encrypt allows 5 authorization failures per identifier per account per hour (rate limits).

Is ACME only for free certificates?

No. ACME is a protocol, not a pricing model. Free CAs made it popular, but some commercial CAs also offer ACME access to paid certificate types. The protocol itself does not care who pays.

Key takeaways

  • ACME automates domain validation, issuance and renewal through a signed API.
  • Pick HTTP-01 for simple sites, DNS-01 for wildcards, TLS-ALPN-01 when only port 443 is open.
  • Use a well-maintained client and test renewal with a dry run.
  • Treat the account key and every private key as secrets.

Related reading: Free SSL Certificate with Certbot: Step by Step and how a free SSL certificate generator works.

Frequently Asked Questions

What does ACME stand for?

Automatic Certificate Management Environment. It is defined in RFC 8555.

Is ACME the same as Let's Encrypt?

No. ACME is the protocol and Let's Encrypt is one CA that uses it. ZeroSSL also supports it, so one client can work with several providers.

Which ACME challenge should I use?

Use HTTP-01 for an ordinary web server, DNS-01 for wildcards or servers behind a firewall, and TLS-ALPN-01 when only port 443 is open.

Do ACME clients renew certificates by themselves?

Yes, when you schedule them. Let's Encrypt recommends that clients use ACME Renewal Information (ARI), which tells a client when the CA suggests renewing (Let's Encrypt announcement).

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant