Hello,
today I wonder why my nextcloud https cert was not valid anymore.
When I start
certbot renew
I get a red error:
Attempting to renew cert (domainx.org) from /etc/letsencrypt/renewal/domain.org.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6… Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domainx.org/fullchain.pem (failure)
I redirect all web server traffic from port 80 to 443. In my DSL router I added a route to port 80 without success.
The privkey.pem and other files are 3 month old, the combined.pem is from today (in /etc/letsencrypt/live/domainx.org folder)
Ekran
Jep found that issue as well. Meanwhile we changed the method to use webroot authentication method (so Lighttpd) instead of letting CertBot start it’s own standalone webserver (which fails if Lighttpd is active). This also allows auto-renewal via certbot’s own systemd timer.
To enable this method, while Lighttpd is active, run: