How to Disable Automatic SSL Renewal on CyberPanel

Securing your website with SSL certificates is essential for ensuring a safe and encrypted browsing experience. While CyberPanel does not provide an explicit option to disable automatic SSL renewal, you can achieve this by removing the relevant cronjobs responsible for the renewal process.

In this article, we will guide you through the steps to disable automatic SSL renewal on CyberPanel, ensuring that you have control over your SSL certificate management.

How to Disable Automatic SSL Renewal on CyberPanel
How to Disable Automatic SSL Renewal on CyberPanel

Why Disable Automatic SSL Renewal on CyberPanel?

CyberPanel provides free Let’s Encrypt SSL certificates, which are automatically renewed on a regular basis. However, there are a few scenarios where disabling automatic SSL renewal might be necessary:

Custom SSL Certificates: If you have obtained SSL certificates from a different provider and want to use them instead of Let’s Encrypt, you need to disable automatic renewal on CyberPanel. Otherwise, CyberPanel will remove your custom SSL certificates and replace them with new Let’s Encrypt certificates during the renewal process.

Manual Certificate Management: Disabling automatic renewal provides more control over the renewal process, allowing you to choose when and how to renew your SSL certificates. This flexibility is particularly useful if you prefer to manage your certificates manually or if you want to switch to a different certificate provider.

Disabling Automatic SSL Renewal on CyberPanel

To disable automatic SSL renewal on CyberPanel, follow these steps:

Locate the Cronjobs: The cronjobs responsible for SSL certificate renewal are typically found in the /etc/crontab or /etc/cron.d directory on your server.

Identify the Relevant Cronjobs: Look for the following commonly used cronjobs related to SSL certificate renewal:

This checks and renews SSL for domains and subdomains

0 2 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/renew.py >/dev/null 2>&1

This runs the shell script implementing the ACME client protocol

7 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null

Exercise Caution: Before modifying any code, it is crucial to understand the potential consequences. Disabling automatic SSL renewal means you will need to manually renew your SSL certificates to ensure their validity.

Remove the Cronjobs: Once you have identified the relevant cronjobs, delete them from the respective directory. This will disable the automatic renewal of SSL certificates on your CyberPanel.

Manual Certificate Renewal: With automatic renewal disabled, it becomes your responsibility to manually renew your SSL certificates as their expiration dates approach. Keep track of the expiration dates and renew the certificates in a timely manner to maintain a secure browsing experience.

Conclusion

While CyberPanel does not provide an explicit option to disable automatic SSL renewal, you can effectively achieve this by removing the relevant cronjobs responsible for SSL certificate renewal. By following the steps outlined in this guide, you can take control of your SSL certificate management on CyberPanel. Remember to exercise caution when modifying code and ensure that you stay proactive in renewing your SSL certificates manually. Disabling automatic SSL renewal gives you the flexibility to manage your SSL certificates according to your specific needs and requirements.

Leave a Comment