Control Panel
Tag Database
Needs Improvment

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/ --register-account -m [email protected]

Generate SSL Certificate

/root/ --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 [email protected]

Log Files

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