Cyberpanel

SSL Issues

Cloudflare + CyberPanel SSL

There's a situation that arises where you might get a 526 error from Cloudflare when using CyberPanel.

At some point your SSL Certificates will expire or not get renewed and revert to self-signed certifiates. If you have SSL set to strict at Cloudflare, then the renewal process will also fail.

Changing strict mode to flexiable at Cloudflare and then reissuing the certificate via Cyberpanel resolves the issue.

Troubleshoot with Command

Register Account

/root/.acme.sh/acme.sh --register-account -m ssl@lmt.ca

Generate SSL Certificate

/root/.acme.sh/acme.sh --issue -d <YOUR_DOMAIN> -d www.<YOUR_DOMAIN> --cert-file /etc/letsencrypt/live/<YOUR_DOMAIN>/cert.pem --key-file /etc/letsencrypt/live/<YOUR_DOMAIN>/privkey.pem --fullchain-file /etc/letsencrypt/live/<YOUR_DOMAIN>/fullchain.pem -w /home/<YOUR_DOMAIN>/public_html --force --debug --register-account -m ssl@domain.com

Log Files

  • /usr/local/lscp/cyberpanel/logs
  • /home/cyberpanel/error-logs.txt