# Let's Encrypt in a cluster

With several servers behind one name, two things have to be right: the check must succeed whichever server the authority lands on, and the new certificate must reach every server. CrushMFT does both by itself.

## The check lands anywhere

While a check runs, every server of the cluster holds its answer in memory (sent by replication), as does every DMZ. A balancer may send the authority's call to any of them. The run's step "Ready to answer on" lists "the other servers of the cluster".

## The certificate reaches every server

The certificate list, its files and the Let's Encrypt settings go to every server of the cluster: a renewed certificate is served by all of them within a minute, without a restart. Each server checks a file with its own copy of the passwords before it writes it; servers that share settings need the same key for stored secrets (Encryption, Stored Secrets).

## Who renews

The server that runs the cluster's scheduled work (the ServerBeat master) renews; the others receive. An order by hand may be started on any server.

## DNS is the easy way

With a DNS way of proof nothing is asked of any server: [Let's Encrypt by DNS](ACME-DNS.md). It also works for servers the internet cannot reach at all, and for wildcard names.

## One certificate for several names

When the servers are also reached by their own names (`files1.example.com`, `files2.example.com`) beside the shared one, put all names into one certificate, or give each port the certificates for the other names ([Several names on one port](Certificates-Several-Names.md)).

## Checking it

Certificates, Where used, **The other servers and the DMZs** shows what each server serves. Look again after the first renewal by itself.
