hi, i have a webserver on ubuntu 20.04 with nginx , before the letsencrypt ssl working normallu with old domain name , and now i try to regenerate new letsencrypt ssl with new domain name and new subdomain name, but it's always failed.
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. crt.sh | 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: (new) bentanihotel.id and admin.bentanihotel.id
I ran this command:
sudo certbot --nginx -d bentanihotel.id -d admin.bentanihotel.id
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for bentanihotel.id and admin.bentanihotel.id
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: bentanihotel.id
Type: unauthorized
Detail: 2a02:4780:3:c062::59: Invalid response from http://bentanihotel.id/.well-known/acme-challenge/oewhGoVKc2MKSwBMc14yBy2rq98sGv_QH5DNLrZorBM: 404
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.
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):
Ubuntu server 20.04 , nextjs , nginx ,and certbot
The operating system my web server runs on is (include version):
ubuntu server 20.04
My hosting provider, if applicable, is:
DIgitalocean
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):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 2.8.0
please advice,
Thanks n regards,