В конфиге прописано с прошлого раза когда не обновлялось
location ~ /.well-known {
<------>allow all;
}
И теперь снова:
root@domen:~# /opt/letsencrypt/letsencrypt-auto renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/domen.ru.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for domen.ru
http-01 challenge for www.domen.ru
Waiting for verification...
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/domen.ru.conf produced an unexpected error: Failed authorization procedure. www.domen.ru(http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from
www.domen.ru/.well-known/acme-challenge/JCfDZOmUxY... "
404 Not Found404 Not Found
", domen.ru(http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from
domen.ru/.well-known/acme-challenge/mmBmHWgHXGYHmh... "
404 Not Found404 Not Found
". Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domen.ru/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: www.domen.ru
Type: unauthorized
Detail: Invalid response from
www.domen.ru/.well-known/acme-challenge/JCfDZOmUxY...
"
404 Not Found404 Not Found
"
Domain: domen.ru
Type: unauthorized
Detail: Invalid response from
domen.ru/.well-known/acme-challenge/mmBmHWgHXGYHmh...
"
404 Not Found404 Not Found
"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
root@domen:~#