CyberPanel version 1.7.x onwards takes care of this for you, but if you have upgraded from old versions to 1.7.x, you need to follow these steps to set up auto-renewal.
Open your domain launcher by visiting:
https:// IP Address :8090/websites/domain.com
Scrol down and click **vHost Conf**, from vhost conf remove:
Click **Save** to apply changes.
Go to Manage SSL at:
https:// IP Address :8090/manageSSL/manageSSL
From drop down select domain and issue SSL. Do these for any domain you want to set up auto renewal.
Go to your command line and run:
systemctl restart lsws
You can then add **certbot renew** to cron jobs for automatic renewal.