If you are unable to successfully issue an SSL in your CyberPanel hosted website - this guide is for you.

CyberPanel is equipped with a built-in security certificate issuing mechanism. It uses the Let’s Encrypt Certificate authority to obtain an SSL certificate for your websites.

However, if CyberPanel is unable to obtain a certificate for your domain, it generates a self-signed certificate instead. This certificate, however, isn’t acceptable to the browser and it throws a red screen warning that the connection might not be secure.

In this tutorial, we are going to see a few common errors that occur and how to fix them.

  1. Upgrade CyberPanel to the latest version by accessing your VPS ROOT SSH and executing the following command:

    sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

  2. Upgrade ACME SSL Client to the latest version by accessing your VPS ROOT SSH and executing the following command:

    wget -O -  https://get.acme.sh | sh

  3. Check for additional error logs:

    cat /home/cyberpanel/error-logs.txt

  4. Execute SSL installation with debug flag:

    /root/.acme.sh/acme.sh --issue -d yourdomain.com -d www.yourdomain.com --cert-file /etc/letsencrypt/live/www.rmronsol.com/cert.pem --key-file /etc/letsencrypt/live/yourdomain.com/privkey.pem --fullchain-file /etc/letsencrypt/live/yourdomain.com/fullchain.pem -w /home/yourdomain.com/public_html --server letsencrypt --force --debug

If none of the above helps, please refer to the following tutorial

Did this answer your question?