Trouble renewing cert - no webroot?
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:
control.example1.com
I ran this command:
/usr/local/bin/certbot-auto certonly -d control.example1.com --nginx
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for control.example1.com
Using default address 80 for authentication.
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/nginx.conf:32
Waiting for verification…
Challenge failed for domain control.example1.com
http-01 challenge for control.example1.com
Cleaning up challenges
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/nginx.conf:30
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:Domain: control.
example1.com
Type: unauthorized
Detail: Invalid response from
https://control.example1.com/.well-known/acme-challenge/-VnAdes8baULznA-LHI_tjYUkYRzlI-fNq6StPVDHPU
[34.XXX.XXX.XXX]: “\r\n404 Not
Found\r\n\r\n
404
Not Found
\r\n”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
nginx/1.16.1
The operating system my web server runs on is (include version):
centos 7
My hosting provider, if applicable, is:
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 1.6.0