letsencrypt - problem renewing certs. "Invalid response from domain..."

I’m hoping someone can advisee.

I am attempting to renew the letsencrypt certificates on my droplet. The droplet is running Ubuntu 14.04 and the Wordpress application (from the droplet templates).

I have updated the letsencrypt client to the latest version.

When I run the ./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d command

I get the message…

Failed authorization procedure. (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from []: 404...

If I attempt that same url in a browser I get a 404 message from Wordpress.

I am wondering if the issue is simply wordpress getting in the way. Of if there is a routing issue.

Any advice much appreciated.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @nwlinux:

I just went through this problem this weekend. Notice that the renewal URL is HTTP, versus HTTPS. Letsencrypt has updated their package; it is renamed and updated to “certbot”. The short and skinny of it is that you have to clone the new certot git repo, configure for port 80, and then upgrade the cert. Here’s my writeup -

View the original comment