J
J
Justin Bieber2017-05-07 11:11:08
Digital certificates
Justin Bieber, 2017-05-07 11:11:08

Why isn't the letsencrypt certificate updated?

It is written in the config since the last time when location was not updated
~ /.well-known {
<------>allow all;
}
And now again:
[email protected]:~# /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 Found .. " 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.
[email protected]:~#

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Justin Bieber, 2017-05-07
@JustinBieber

removed
location ~ /.well-known {
<------>allow all;
}
and updated lal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question