How does Let's Encrypt and the ACME protocol work?
IntermediateConceptHTTP, TLS & Certificates
Answer
A client (certbot, acme.sh, cert-manager) proves control of a domain to the ACME server through a challenge: HTTP-01 (serve a token at /.well-known/acme-challenge/ on port 80), DNS-01 (create a _acme-challenge TXT record, required for wildcards) or TLS-ALPN-01. After validation it requests and receives a certificate valid for 90 days today, with shorter lifetimes being phased in.
Automation is mandatory: short lifetimes mean renewal must be hands-off and monitored.
More on HTTP, TLS & Certificates
What is the structure of an HTTP request and response?BeginnerWhich HTTP status code classes and codes should every DevOps engineer know?BeginnerWhat are the common HTTP methods and which are idempotent?BeginnerWhat changed between HTTP/1.1, HTTP/2 and HTTP/3?IntermediateHow does QUIC differ from TCP+TLS?AdvancedWhat are HTTP keep-alive and connection reuse, and why do they matter?Advanced