Skip to content
MtrXTools

urn:ietf:params:acme:error:connection

The CA couldn't connect to validate the domain

Seen in certbot, acme.sh, Caddy, Traefik, cert-manager (Let's Encrypt and other ACME CAs)

The CA could not open a connection to your server to fetch the challenge, so validation failed.

Common causes

  • Nothing is listening on port 80 (or 443 for TLS-ALPN-01), for example the web server is stopped while certbot uses --webroot.
  • A firewall rejects or resets the connection, sometimes only for overseas IPs or by geo-blocking.
  • DNS points at an IP that is not this server, often via a stale AAAA record.

How to fix it

  1. Make sure a web server answers on port 80 for the domain, or use certbot --standalone with port 80 free.
  2. Allow inbound port 80 from all IPs; validation comes from several regions.
  3. Check A and AAAA records point at this server.
Check port 80 is open

Got a different message? Paste it into the error explainer.

Related errors

All 19 Web servers & certificates errors