Question

SSL & Apache & Wordpress & certbot

Posted May 2, 2019 743 views
ApacheOpenLiteSpeed WordPress 1-Click

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

1 comment

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.

×
1 answer

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

Submit an Answer