العربية
Back

Domains and web building

How HTTPS certificates work with Let's Encrypt: domain validation and issuance

How your site gets a browser-trusted certificate from Let's Encrypt through the ACME protocol: proving control of the domain, then requesting and renewing the certificate.

Last reviewed:

The goal

The aim of Let's Encrypt and the ACME protocol is to let an HTTPS server obtain browser-trusted certificates automatically, without human intervention, by running an ACME client on the web server.

Domain validation

The first time, the client creates an account key pair and proves it controls one or more domains. The CA offers challenges, such as provisioning a DNS record under the domain or an HTTP resource under a well-known URI. After the client completes one, the CA checks it from several network perspectives.

Issuance and renewal

Once authorized, the client builds a Certificate Signing Request (CSR) and signs it with the authorized account key. The CA verifies both signatures, issues the certificate and submits it to Certificate Transparency logs. Renewing repeats the process.

Related pages

Sources

Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.

#ssl#https#certificate#lets-encrypt#exec

Frequently asked questions

How does a server prove it owns the domain?

The ACME client asks the CA for challenges, such as provisioning a DNS record under the domain or an HTTP resource under a well-known path, then the CA checks. Read next: DNS record types explained: A, AAAA, CNAME, MX, TXT and more.

DNS record types explained: A, AAAA, CNAME, MX, TXT and more

Why validate from several network points?

The process cannot use HTTPS, so it is open to certain attacks. Let's Encrypt runs several validations in parallel from different network perspectives. Read next: DNS record types explained: A, AAAA, CNAME, MX, TXT and more.

DNS record types explained: A, AAAA, CNAME, MX, TXT and more

Are certificates logged publicly?

Yes. The CA submits the certificate to public Certificate Transparency logs. Read next: DNS record types explained: A, AAAA, CNAME, MX, TXT and more.

DNS record types explained: A, AAAA, CNAME, MX, TXT and more