Report this

What is the reason for this report?

SSL Failing to renew

Posted on August 31, 2018

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.