Sometimes you might find that certificates expire on your sites that are using OpenLiteSpeed. You might be tempted to think that the renewal failed but actually, you need to add a configuration tweak to ensure that once the certificate is renewed OpenLitesSpeed will offer it to your clients.
Please run the following commands ONLY if you are using OpenLiteSpeed:
sudo su
if ! grep -q "renew-hook" /etc/letsencrypt/cli.ini; then
echo "
renew-hook systemctl restart lsws" /etc/letsencrypt/cli.ini
fi
systemctl restart lsws