Hello all!
I am making use of LE on all of my linux servers. In conjunction with easyengine I found myself a great tool to quickly setup and manage my wordpress customer and project sites.
I really like the ease of this solution and it used to work just fine. But since about a month or so I am unable to renew or issue new certificates via letsencrypt. I also started an issue on the github respository of the easyenginge dev team.
Please find issue report here:
Please fix this… I used to be able to renew my le certs without any issue on the exact same setup… I didnt change a thing except for regular updates via apt-get
Please fill out the fields below so we can help you better.
My domain is:
any domain I am trying to renew the LE cert on. I have several.
My A records are set up perfectly on each domain.
Only domain where I am not seeing this issue is my main domain, which has a subdomain that is also the hostname of the server that all of these other domains point to.
I set up vhosts for each domain on my nginx.
I ran this command:
./letsencrypt-auto certonly --webroot -w /var/www/mydomain.de/htdocs/ -d mydomain.de -d www.mydomain.de --email webmaster@mydomain.de --text --agree-tos
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for mydomain.de
http-01 challenge for www.mydomain.de
Using the webroot path /var/www/mydomain.de/htdocs for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. erlebniskochen-haus.de (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain.de/.well-known/acme-challenge/wAThCYcO77SbXU-wvyNOG29_qxiQZ3S38FY4JYeJzOE: "
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: mydomain.de
<m"
Type: unauthorized
Detail: Invalid response from
http://mydomain.de/.well-known/acme-challenge/wAThCYcO77SbXU-wvyNOG29_qxiQZ3S38FY4JYeJzOE:
"Domain: www.mydomain.de
<m"
Type: unauthorized
Detail: Invalid response from
http://www.mydomain.de/.well-known/acme-challenge/KrCeD4QDvrBmdHkqVBDryWj9ViED-mNZZhjdXGciG90:
"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
My operating system is (include version):
Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-62-generic x86_64)
My web server is (include version):
NGINX 1.10.0
My hosting provider, if applicable, is:
netcup.de
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