I have a number of droplets running OpenLiteSpeed Wordpress. By default, the Letsencrypt certificate SSL appears to renew itself automatically near expiry.
This is different to what I have done in the past with some Apache servers, where I get an expiry notice by email from Letsencrypt and I either have to manually renew using certbot renew or set up a crontab.
However it seems I have to restart the LSWS service for the renewal to take effect.
What would be the best way to automatically apply the renewed certificate? Is there some sort of openlitespeed setting somewhere? Or do I need some potentially-dodgy* cron that restarts the lsws service on the first day of every month?
*not keen on things like scheduled service restarts especially things like web services that might somehow fail to start again
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.