Cloudflare Error 526 Invalid SSL Certificate at Origin
Origin TLS certificate is expired, self-signed, or does not match requested hostname.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Cloudflare Error 526 Invalid SSL Certificate at Origin
Platform: Cloud
Common Root Causes:
- Origin TLS certificate is expired, self-signed, or does not match requested hostname.
Interactive Diagnostic Checklist
Verified Solutions:
- Renew origin certificate via Certbot and verify SAN covers the domain.
Safe Diagnostic Command:
openssl s_client -connect <origin-ip>:443 -servername <domain> | openssl x509 -noout -dates -subject
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Origin TLS certificate is expired, self-signed, or does not match requested hostname. Recommended diagnostic: `openssl s_client -connect <origin-ip>:443 -servername <domain> | openssl x509 -noout -dates -subject`. Remediation: Renew origin certificate via Certbot and verify SAN covers the domain.
Worked Examples
- Run `openssl s_client -connect <origin-ip>:443 -servername <domain> | openssl x509 -noout -dates -subject` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-http-526-cloudflare-invalid-ssl · Independently verified: 2026-11-25