Hello! I've been using certbot quite smoothly for over a year now, but I'm currently experiencing some issues with one server that hosts 3 websites. For one I already activated the certificate, although when running "sudo certbot renew --dry-run" it gives an error I also encounter when trying to add new certificates to two other websites. The error and details are described below for one of the sites:
My domain is: http://theantimenagerie.net/
I ran this command: certbot --duplicate --nginx -v
It produced this output:
Requesting a certificate for theantimenagerie.net
Performing the following challenges:
http-01 challenge for theantimenagerie.net
Waiting for verification...
Challenge failed for domain theantimenagerie.net
http-01 challenge for theantimenagerie.net
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: theantimenagerie.net
Type: unauthorized
Detail: Invalid response from http://theantimenagerie.net/.well-known/acme-challenge/iZnW3TTA_YJvzDAfGo2TGeXB55_648TWq8McrYzhbIY [45.79.249.9]: "\r\n404 Not Found\r\n<body bgcolor="white">\r\n
404 Not Found
\r\n"
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
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.14.2
The operating system my web server runs on is (include version): Debian 10
My hosting provider, if applicable, is: Linode
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.18.0
I'm adding also the nginx site config here: server { server_name theantimenagerie.net; root /var/www/ht - Pastebin.com
Would anyone be able to help with this? Many thanks!