LetsEncrypt IP's Accessibility

Greetings!

Here’s the dilemma.

LetsEncrypt validates from a range of IP/CIDR’s. Understandably, they don’t make these public. Typically, you can find some of these in your web server logs, as they’re clearly tagged.

The problem is, when you’re blocking (firewall,iptables,ipset) a large block of addresses, you may be blocking LetsEncrypt when they’re validating your SSL certs…causing your domain/cert updates to fail.

Has anyone encountered this and do you have any tips for mitigating it?

Thank you!

-sp

Hi,

Two fixes that actually hold up:

  1. Switch to DNS-01 validation instead of HTTP-01. No inbound connection needed at all, so your IP blocks never touch it.
  2. If you need to stick with HTTP-01, just carve out /.well-known/acme-challenge/ from your blocking rules entirely (it’s a harmless, unauthenticated path by design) rather than trying to allowlist LE’s validator IPs.

Don’t chase their IP list — LE now validates from multiple vantage points (multi-perspective validation) specifically to prevent hijacking, so the source IPs shift over time and any allowlist you build will eventually go stale and break renewals again.

— Abdullah | DevRel, IPinfo

That was incredibly helpful!

Thank you!