I'm having trouble updating Letsencrypt's key.
The configuration is connecting to the server tvc.wtnbakr.ntm200.com through a reverse proxy (242.wtnbakr.ntm200.com) and trying to rekey the server.
I was able to get the key with this configuration, but I can't renew it after 3 months.
Looking at it with Wireshark, I found that “404 Not Found (text/html)” was returned, although it was indeed reading the above file from letsencrypt.
Looking at /var/www/html/, the directory /.well-known/acme-challenge is not created in the server.
Please let me know if you have any idea what is causing this.
My domain is: tvc2.wtnbakr.ntm200.com
I ran this command: sudo certbot -v renew --dry-run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/tvc2.wtnbakr.ntm200.com.conf
Certificate is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Simulating renewal of an existing certificate for tvc2.wtnbakr.ntm200.com
Performing the following challenges:
http-01 challenge for tvc2.wtnbakr.ntm200.com
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Challenge failed for domain tvc2.wtnbakr.ntm200.com
http-01 challenge for tvc2.wtnbakr.ntm200.com
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: tvc2.wtnbakr.ntm200.com
Type: unauthorized
Detail: 153.126.137.242: Invalid response from http://tvc2.wtnbakr.ntm200.com/.well-known/acme-challenge/ED_MroTWnNdfbHuP29czSWN9z3oqWgzQmx0lsapb9sI: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Cleaning up challenges
Failed to renew certificate tvc2.wtnbakr.ntm200.com with error: Some challenges have failed.
All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/tvc2.wtnbakr.ntm200.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): nginx/1.18.0 (ubuntu)
The operating system my web server runs on is (include version): Ubuntu20.04LTS
My hosting provider, if applicable, is:
SAKURA internet
I can login to a root shell on my machine (yes or no, or I don't know): yes.
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.31.0