The system was working - at least, certbot was - then was reinstalled from scratch, so the challenge info was wiped out. How do I restore it?
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: motsstodon.social
I ran this command: sudo certbot -v certonly --nginx --agree-tos --no-eff-email --staple-ocsp --preferred-challenges http -m rogerk@queernet.org -d motsstodon.social
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Requesting a certificate for motsstodon.social
Performing the following challenges:
http-01 challenge for motsstodon.social
Waiting for verification...
Challenge failed for domain motsstodon.social
http-01 challenge for motsstodon.social
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: motsstodon.social
Type: connection
Detail: 216.252.162.125: Fetching http://motsstodon.social/.well-known/acme-challenge/CSRUBqnjEaoju5DOdxKS6A1W7Ply_KAnARSCa8-Rwwk: Error getting validation data
My web server is (include version):
Nginx 1.24
The operating system my web server runs on is (include version):
Rocky 9.1
My hosting provider, if applicable, is:
Self
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):
2.6.0