# Let's Encrypt troubleshooting

A run that fails says what happened, why, the next step, and links here. The cases, in the order the steps run. Lines starting with `ACME:` in the server log say what the authority answered.

## No DNS record

"NAME does not point anywhere yet": the name has no A (or AAAA) record. Add one that points at your public address and wait for it to spread (minutes to an hour).

## Rejected name

The authority does not issue for local or internal names (`server.local`, `files.internal`, a name without a dot) or for bare addresses other than public IPs. A wildcard is only proven through DNS, an IP address never through DNS. At most 100 names go in one certificate.

## CAA

A CAA record in the name's DNS (or its parent's) allows only other companies to issue. Add the authority to it (for Let's Encrypt `0 issue "letsencrypt.org"`, and `issuewild` for wildcards), or remove the record.

## Port 80 or 443 cannot be reached

"The authority could not connect to port 80 of NAME": no forward, a firewall, or a cloud security group in the way. See [Port 80 on the internet, any port on CrushMFT](ACME-Ports-And-Forwarding.md#port-80). The same for 443: [Port 443](ACME-Ports-And-Forwarding.md#port-443).

## Another server answers

See [Another web server answers](ACME-Ports-And-Forwarding.md#another-web-server-answers).

## IPv6

See [IPv6](ACME-Ports-And-Forwarding.md#ipv6).

## TLS ended in front

See [A proxy in front](ACME-Ports-And-Forwarding.md#a-proxy-in-front).

## Way not offered

"The authority does not offer this way for NAME": some authorities do not offer every way (dns-persist-01 above all). Choose another.

## Bad request

The authority refused the request (CSR), usually its key: choose RSA 2048 under Show advanced.

## The authority cannot be reached

"The authority's directory could not be reached": this server has no way out on port 443. See [Calls to the authority](ACME-DMZ.md#calls-to-the-authority).

## Limits

See [The limits](ACME-Testing-And-Limits.md#the-limits).

## External account required

ZeroSSL, Google Trust Services and SSL.com need an EAB key id and HMAC key: [Other authorities](ACME-Lets-Encrypt.md#other-authorities).

## The DNS record

See [The record is not found](ACME-DNS.md#the-record-is-not-found).

## In use, but a port serves the version before

A renewed certificate is put in use within a minute, once it is checked. A port that still serves the version before after that: Certificates, Where used, and the server log for the keystore watch's line.
