When does Cloudflare return 526?
Cloudflare returns 526 when strict origin certificate validation fails, commonly because the certificate is expired, mismatched, untrusted, or incomplete.
Cloudflare · HTTP 526
Resolve Cloudflare 526 in Full (strict) mode by checking origin certificate validity, hostname matching, trust, and the complete served chain.
Origin / TLS Configuration
Paste a captured HTTP response or enter a status and headers. Only the status and response headers are sent; common credential headers are filtered first.
Diagnostic report
Error code / name
Fault domain
Origin / TLS ConfigurationCloudflare completed TLS negotiation but rejected the origin certificate under strict validation. Expiry, hostname mismatch, an untrusted issuer, or an incomplete chain can make the certificate invalid.
Cloudflare completed TLS negotiation but rejected the origin certificate under strict validation. Expiry, hostname mismatch, an untrusted issuer, or an incomplete chain can make the certificate invalid.
Client -> Cloudflare Edge -> TLS handshake -> certificate validation fails -> X Originopenssl s_client -connect ORIGIN_IP:443 -servername example.com -verify_return_error -showcerts </dev/nullssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/example.com/chain.pem;SteadyNode's TLS Chain Debugger tracks certificate expiry and chain validation, giving teams warning before an invalid origin certificate interrupts proxied traffic.
No credit card required.
Start for freeCloudflare returns 526 when strict origin certificate validation fails, commonly because the certificate is expired, mismatched, untrusted, or incomplete.
It removes a security check rather than repairing the origin certificate. Restore a valid chain and keep strict validation enabled.