- SSL Issues
- Cloudflare + CyberPanel SSL
- Troubleshoot with Command
- Register Account
- Generate SSL Certificate
- Log Files
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
/root/.acme.sh/acme.sh --register-account -m firstname.lastname@example.org
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 email@example.com