I'm having trouble with my VPS because the external firewall is blocking ports 80 and 443. This is preventing Let's Encrypt's certbot from connecting to validate my domain. Can anyone suggest how to resolve this issue?
4 Answers
It sounds like you'll need to get those ports unblocked since Let's Encrypt requires ports 80 and 443 for validation. If unblocking them isn’t possible, consider using the DNS-01 challenge instead, which allows validation through DNS TXT records and doesn’t rely on open ports.
If all else fails, maybe try moving to a VPS provider that doesn’t block those ports. Sounds silly, but it might save you a lot of headaches!
You could also try changing your firewall settings to allow access on those ports for Let's Encrypt. Otherwise, switching to different ports might also work, but make sure your other configurations are aligned with that change.
Did you give the classic reboot a shot? Turning it off and on again sometimes does wonders!
Just a heads up, the HTTP-01 challenge is pretty strict about requiring ports 80 or 443. If those ports aren't accessible, you might hit a dead end with that method.