How to set up Auto SSL Renew on CyberPanel!

Hello

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.

Step 1

Open your domain launcher by visiting:

https:// IP Address :8090/websites/domain.com

Scrol down and click **vHost Conf**, from vhost conf remove:
vhssl  {
keyFile /usr/local/lsws/conf/vhosts/SSL-domain.com/privkey.pem
certFile /usr/local/lsws/conf/vhosts/SSL-domain.com/fullchain.pem
certChain 1
sslProtocol 30
}
Click **Save** to apply changes.

Step 2

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.

Step 3

Go to your command line and run:
cerbot renew
systemctl restart lsws
You can then add **certbot renew** to cron jobs for automatic renewal.
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!