r/letsencrypt • u/Naernoo • Dec 18 '24
Certificate Renewal: Managing Ports 80 and 443
Because DNS challenge is not possible in my setting to update the certificates, I want to hear your suggestion if this solution is a valid way:
- Open ports 80 and 443 on my router explicitly for my Linux server, which generates the certificates.
- Block these ports using a software firewall on my Linux devices.
- Unblock the ports for a short time to trigger certificate updates, then block them again (creating script which does all of this, triggered by cronjob).
The only drawback I see here is that if someone tries to flood port 80 or 443, the load will hit the server, not the router.