Report this

What is the reason for this report?

SSL & Apache & Wordpress & certbot

Posted on May 2, 2019

Hi, I have a wordpress website on a dropplet (openLiteSpeed wordpress 1-click) I had to renew the ssl certificate but I managed to do some dumb things.

The “sudo certbot renew --dry-run” does’nt work (failed authorisation procedure) and “sudo certbot --apache -d mywebsite.co -d www.mywebsite.co” makes an error too.

So I figured the simple way out of this mess is to reset the dropplet and start fresh with a new stock install. But I dont want to lose my wordpress website.

What’s the best way to fix this situation ? I have copied the html folder from /var/ from the dropplet. Can I easily copy paste it to a new dropplet ? What about the database ? and all the extensions, pages and database ?

Oh, and I procrastinated this problem, now my website shows an error (ssl certificate outdated) but it is in production so… not very nice for my customers… That’s why I need a quick way to fix it.

Thanks



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.

Hello,

Note that in order for Let’s Encrypt to be able to validate your domain name and issue an SSL certificate, your domain name needs to be pointing to the server IP that you are trying to issue the SSL certificate from. Then if your DNS is setup correctly in 99% of the cases certbot works fine.

In case that you’ve sorted out your DNS and you are still unable to get the SSL issued, you could provide the exact error that you are getting here and I could then advise you further.

Regards, Bobby

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.