What is ACME? How automatic certificate renewal works
ACME is the open standard that turns obtaining and renewing certificates into an API. A 47-day cycle is only sustainable with it.
24 August 2026 · 7 min read
The protocol
ACME (Automatic Certificate Management Environment) is defined in RFC 8555, published by the IETF in 2019. It was built for Let's Encrypt; today commercial authorities and internal PKI products offer the same protocol.
- Account01
The client registers an account with the authority; the account key signs every request.
- Order02
An order is created for the requested domain names; the authority returns an authorization per name.
- Validation03
The client proves control of the domain with a challenge.
- Finalize04
The client submits a certificate signing request (CSR); the authority signs the certificate.
- Certificate05
The client downloads the certificate and its chain. Installation and verification are outside ACME.
Validation methods
- http-01
- The authority requests a specific file on port 80 of the domain. Simple, but not allowed for wildcards and it needs a publicly reachable HTTP endpoint.
- dns-01
- A TXT record is written under _acme-challenge. The only way for wildcards and for internal systems that are not reachable from outside; it needs DNS provider API access.
- tls-alpn-01
- Validation happens inside the TLS handshake on port 443 (RFC 8737). Limited use behind load balancers.
Renewal timing
- Rule of thumb: renew when about a third of the lifetime remains. 30 days before expiry for a 90-day certificate, roughly 15 days for a 47-day one.
- Avoid renewal storms: certificates issued on the same day renew on the same day; add a small random offset to the renewal time.
- ACME Renewal Information (RFC 9773): the authority publishes a suggested renewal window per certificate and can ask for early renewal during an incident.
- Authorities enforce rate limits; plan for them in large initial rollouts.
What ACME does not cover
ACME obtains the certificate; it does not install it on the target, reload the service or verify the result. In an enterprise, the real work is in that second half.
- The certificate and key must be moved to the target securely; the private key should stay where it was generated.
- The service must be reloaded without downtime, and only after the configuration test passes.
- The target must be confirmed to actually serve the new certificate; on failure, roll back from the backup.
- Every step must be recorded.
Frequently asked questions
- Is ACME only for Let's Encrypt?
- No. It is an open IETF standard; commercial authorities and internal PKI products offer it too.
- Which validation does a wildcard certificate need?
- Only dns-01. http-01 and tls-alpn-01 are not allowed for wildcards.
- Where should the ACME client run?
- On the server that uses the certificate or in a central management system. The central approach is safer when combined with an inventory and verified installation.
Sources
More articles
Manage your certificates in one place
Inventory, expiry tracking, renewal through ACME and verified installation, on your own infrastructure.