My domain is: autismkarate.org
I ran this command: certbot renew -v --dry-run --test-cert
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/as21805.net-0002.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator nginx, Installer nginx
Simulating renewal of an existing certificate for as21805.net and 22 more domains
Performing the following challenges:
(snip)
http-01 challenge for autismkarate.org
(snip)
Waiting for verification...
(snip)
Challenge failed for domain autismkarate.org
(snip)
http-01 challenge for autismkarate.org
(snip)
Domain: autismkarate.org
Type: unauthorized
Detail: During secondary validation: (v6 IP): Invalid response from http://autismkarate.org/.well-known/acme-challenge/(challenge): 404
Domain: www.autismkarate.org
Type: unauthorized
Detail: During secondary validation: (v6 IP): Invalid response from http://www.autismkarate.org/.well-known/acme-challenge/(challenge): 404
(snip)
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
Failed to renew certificate as21805.net-0002 with error: Some challenges have failed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/as21805.net-0002/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 version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 22.04.5 LTS
My hosting provider, if applicable, is: (myself)
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 5.0.0
Generated Nginx config:
server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
server_name autismkarate.org www.autismkarate.org;
root /var/www/autismkarate.org/web;
index index.html index.htm index.php;
#charset utf-8;
listen [::]:443 ssl http2; # managed by Certbot
listen 443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/as21805.net-0002/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/as21805.net-0002/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
location = /.well-known/acme-challenge/(challenge){default_type text/plain;return 200 (data);} # managed by Certbot
location = /.well-known/acme-challenge/(challenge){default_type text/plain;return 200 (data);} # managed by Certbot
}
server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
if ($host = www.autismkarate.org) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = autismkarate.org) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
listen [::]:80;
server_name autismkarate.org www.autismkarate.org;
#return 404; # managed by Certbot
location = /.well-known/acme-challenge/(challenge){default_type text/plain;return 200 (data);} # managed by Certbot
location = /.well-known/acme-challenge/(challenge){default_type text/plain;return 200 (data);} # managed by Certbot
}