Let me GUESS then…
You are using Apache. Somehow your config has changed since your last renewal.
You haven’t checked the config for correctness.
You haven’t ensured that http://DOMAIN/.well-known/acme-challenge/testfile reaches the file you placed there. Oh yeah, you never placed any test file there.
The gist here is if you really want help, then try to make it easy for someone to help you - not harder.
Let us help you by beginning at the beginning and answer all the questions that should have been presented to you when you opened this topic:
=============================================================================
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
Strange, I had it working flawless before. I got this in my nginx conf
# SSL Configuration
location ~ /.well-known {
allow all;
root /var/www/html;
}
This also before SSL conf-line.
# RSA certificate
ssl_certificate /etc/letsencrypt/live/DOMAIN/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/DOMAIN/privkey.pem;
That may not be providing the desired/(your expected) result.
Please make these paths and test files:
[paths] mkdir /var/www/html/.well-known/ mkdir /var/www/html/.well-known/acme-challenge/ mkdir /var/www/html/acme-challenge/
[files - use any method - below is only one way (as example)] sudo echo 'location1' > /var/www/html/.well-known/acme-challenge/testfile1234 sudo echo 'location2' > /var/www/html/acme-challenge/testfile1234 sudo echo 'location3' > /var/www/html/tesfile1234
Then see which text is returned with: http://DOMAIN/.well-known/acme-challenge/testfile1234
Whichever location# is returned, that is the actual --webroot location you need to use.