Hi, I ve been trying to solve this problem myself but I have found little success
I m using ubuntu trusty and apache and cant get the response from my server.
I get this message after using : sudo ./certbot-auto certonly --agree-tos --renew-by-default -d bye.com --server http://172.17.0.1:4000/directory --webroot -w /var/www/bye.com/html/ (this is where I have bye.html)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for bye.com
Using the webroot path /var/www/bye.com/html for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. bye.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://bye.com/.well-known/acme-challenge/xDpsMOU5N1lTkvIhgQeO1gWZQX7kOk-l7p683SiNI2w: 404 not found
The following errors were reported by the server:
Detail: Invalid response from
404 not found
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.
I have access to files I place in ./well-known/acme-challenge using curl from other machines and have thos same directories with 755 permissions and chown myUser.
Any help is welcome