Non-standard, from Cloudflare: the origin presented a certificate the CDN would not accept under strict validation — expired, self-signed or for the wrong host.
Non-standard — not defined by any RFC. Vendor documentation: Cloudflare 5xx error reference
When an origin certificate expires, is self-signed, or does not cover the hostname, and the CDN is configured to validate the origin certificate strictly. It typically appears on the day a renewal failed.
Add a certificate-expiry check to monitoring; a 526 on the day a certificate lapses is the symptom of a renewal that did not happen.
Treat it as an outage; retries will not help until the certificate is fixed. Operationally, monitor certificate expiry with enough warning to renew, and test renewals in a staging environment that also validates strictly.
1 endpoint in this playground answers with 526. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/faults/v1/status/{code} — Return any status code on demand (200–599) (Fault Injection API) Open & run this endpointAll HTTP status codes · All 55 mock REST APIs · Getting started guide
Last updated