At One Place

HTTP 526 — Invalid SSL Certificate

HTTP 526
Invalid SSL Certificate
The origin server presented a TLS certificate that Cloudflare could not validate.

What 526 actually means

Cloudflare-specific, and closely related to 525 — the handshake got far enough for a certificate to be presented, and the certificate failed validation. It only occurs when the SSL mode is Full (strict), which is the mode that actually checks the origin certificate. Expired certificates and self-signed certificates are the two dominant causes.

Common causes

  • The origin certificate has expired
  • A self-signed certificate with SSL mode set to Full (strict)
  • A certificate whose name does not match the hostname
  • A missing intermediate certificate, so the chain does not validate
  • A certificate issued by a CA Cloudflare does not trust

If you're just trying to view the page

  1. Nothing on your side — the site's origin certificate needs renewing or replacing
  2. Report it to the site owner with the Ray ID; expired certificates are a common and quick fix

If it's your site

  1. Check the certificate's expiry and renew it; automate renewal so it does not recur
  2. Install a Cloudflare Origin CA certificate, which is free, long-lived and trusted by Cloudflare in strict mode
  3. Include the full chain, not just the leaf — a missing intermediate is a very common cause
  4. If the certificate genuinely cannot be made valid, switch the SSL mode to Full (non-strict) as a temporary measure, understanding that it stops verifying the origin

Reference

Status code
526
Reason phrase
Invalid SSL Certificate
Category
5xx — Server Error
Cacheable by default
No

Common questions

What does HTTP 526 mean?
The origin server presented a TLS certificate that Cloudflare could not validate. Cloudflare-specific, and closely related to 525 — the handshake got far enough for a certificate to be presented, and the certificate failed validation. It only occurs when the SSL mode is Full (strict), which is the mode that actually checks the origin certificate.
How do I fix a 526 error?
Nothing on your side — the site's origin certificate needs renewing or replacing
Is 526 a client error or a server error?
526 is in the 5xx range, which means server error. The request was acceptable but the server could not fulfil it, so retrying later can succeed.

Related pages

Sources

  1. Hypertext Transfer Protocol (HTTP) Status Code Registry — IANA
  2. RFC 9110: HTTP Semantics — IETF

How these figures are compiled and checked