I’m running a LAMP stack with LetsEncrypt cert. My cert exprie and is failing to renew.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for aftercoffeedesigns.com
http-01 challenge for www.aftercoffeedesigns.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.aftercoffeedesigns.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://aftercoffeedesigns.com/.well-known/acme-challenge/BdqUVG03sKdgTTqJ5sCXhxAD9dWnBBlNxqD-kqKCQzM: Error getting validation data
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: www.aftercoffeedesigns.com
Type: connection
Detail: Fetching
https://aftercoffeedesigns.com/.well-known/acme-challenge/BdqUVG03sKdgTTqJ5sCXhxAD9dWnBBlNxqD-kqKCQzM:
Error getting validation data
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. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
I used this instructions https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04 I pick the option that for https only.
Any suggestions ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You should check if you have proper permissions set for domain document root.
Zayn.
It seems like your domain is pointing to the correct IP address. You should check if you have proper permissions set for domain document root.
And see if there is a .well-known directory within the document root. You can check it with,
ls -a /path/to/public_html
I checked that and everything is fine, but I still getting the error.
I talk to LetsEncrypt and they said that my server is serving http over https
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.