Last time I was able to renew it just fine.
Setup is:
ISP Router WAN IP: 186.32.131.69
ISP Router LAN IP: 192.168.0.1
Port Forwarding: HTTPS 443 -> 443 of Linksys Router IP 192.168.0.10
Linksys Internal Router IP: 192.168.0.10
Linksys Port Forwarding: HTTPS 443 -> RPi 192.168.1.55
RPi runs nginx with this site config:
server {
listen 80;
listen [::]:80;
server_name butler.mydomain.com;
root /www/butler.mydomain.com;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name butler.mydomain.com;
ssl_certificate /etc/letsencrypt/live/butler.mydomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/butler.mydomain.com/privkey.pem;
root /www/butler.mydomain.com;
index index.php index.html index.htm;
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
# Error & Access logs
error_log /www/butler.mydomain.com/logs/error.log error;
access_log /www/butler.mydomain.com/logs/access.log;
location / {
index index.html index.php;
proxy_pass http://192.168.1.55:443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
Now Im getting this at the renew prompt:
pi@raspberrypi:/etc/nginx/sites-available $ sudo /etc/letsencrypt/certbot-auto renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/butler.mydomain.com.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for butler.mydomain.com
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (butler.mydomain.com) from /etc/letsencrypt/renewal/butler.mydomain.com.conf produced an unexpected error: Failed authorization procedure. butler.mydomain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://butler.mydomain.com/.well-known/acme-challenge/gadWzdQNzrHXEwaVNQ2TRo0zpLwrCf1T4uXOxZrRAnc [186.32.131.69]: 404. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/butler.mydomain.com/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/butler.mydomain.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: butler.santiapps.com
Type: unauthorized
Detail: Invalid response from
http://butler.mydomain.com/.well-known/acme-challenge/gadWzdQNzrHXEwaVNQ2TRo0zpLwrCf1T4uXOxZrRAnc
[186.32.131.69]: 404To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
Why is it Skipping?