Hi!
I know. There are many similar topics. I think I read them all. But not a single answer solved my problem.Three months ago, I successfully received a certificate. When trying to update, I got various errors.
My domain is: amver.net
My hosting provider, if applicable, is: digital ocean
I ran this command: sudo certbot renew --dry-run
It produced this output:
Attempting to renew cert (www.zzz.net) from /etc/letsencrypt/renewal/www.zzz.net.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Select the webroot for www.zzz.net:
Choices: ['Enter a new webroot', '/var/www/well-known']
(You can set this with the --webroot-path flag). Skipping.
The following certs could not be renewed:
/etc/letsencrypt/live/www.zzz.net/fullchain.pem (failure)
I decided it by adding a line.
My web server is (include version): nginx version: nginx/1.14.0 (Ubuntu)
Further there was such an error:
Attempting to renew cert (www.zzz.net) from /etc/letsencrypt/renewal/www.zzzz.net.conf produced an unexpected error: Failed authorization procedure. www.zzz.net (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for www.zzz.net. Skipping.
The following certs could not be renewed:
/etc/letsencrypt/live/www.zzz.net/fullchain.pem (failure)
. I had to add a domain from www and add an A record to digital ocean.
(although how did it work for the first time without all this ???)
Well and finally I have a 404 error and i can not access to test file in acme directory:
zzz.net:Verify error:Invalid response from http://zzz.net/.well-known/acme-challenge/o9xjJlMXfILDTD9o7h5nhmMX2iqZELZH2Mf9Wg9GSgw [xxx.xxx.xx.xx]:
[Wed Oct 16 07:44:26 UTC 2019] Please check log file for more details: /home/letsencrypt/.acme.sh/acme.sh.log
(I don’t know, maybe this is not the end of my adventures). What am I doing wrong? please, help.
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):
I gradually supplement my issue, thanks.
I tried this and that.
The issue lists errors as root and certbot.
I also created a separate letsencrypt user and used acme. as in this manual: https://jereze.com/code/letsencrypt-acme-no-root/
the result is the same - 404
really? adding the server name to port 80 and further running the command to add the certificate fixed everything!
Thank you so much for your support and prompt assistance. Perhaps this line I did not see in the existing answers