Cloudflare is set to Full (strict) and the certificate on your server failed its checks: expired, self-signed, issued for another name, or served without its chain. The fix is a valid certificate on the origin — a free Cloudflare Origin CA certificate is enough.
Error 526 Invalid SSL certificate
| Error | Error 526 Invalid SSL certificate |
| Usually fixed by | The website |
| Shown by | Cloudflare, instead of your site |
| Happens in | SSL/TLS mode Full (strict) |
| Between | Cloudflare and your server — not the visitor |
Check the certificate a site serves
Cloudflare answers for your domain, so this checks Cloudflare’s certificate; to see your server’s own, connect to its IP address with openssl s_client (below).
What it means
In Full (strict) mode Cloudflare validates your server’s certificate the way a browser would. When validation fails it shows 526 instead of your site. Full mode would connect anyway — it accepts an expired, self-signed or mismatched certificate — which is why switching to Full is a quick fix that removes the protection.
Why it happens
- The origin certificate has expired or been revoked.
- It is self-signed, or not signed by a public CA or Cloudflare’s Origin CA.
- The requested host name is not in its common name or subject alternative names.
- The server does not send the full chain, or does not accept connections on port 443.
How to fix it
- Install a valid certificate on the origin: renew it, or create a free Cloudflare Origin CA certificate covering your host names.
- Make sure the server sends the certificate with its intermediate chain.
- For a self-signed certificate you want to keep, upload it to Cloudflare’s Custom Origin Trust Store rather than downgrading to Full.
See it for yourself
openssl s_client -connect 203.0.113.10:443 -servername example.com -showcerts
Connect to your origin’s IP address: the output shows the certificate and chain the server sends, and the verification result.
Questions
Does Cloudflare warn me before an Origin CA certificate expires?
No — Cloudflare says it does not currently send expiration notices for Origin CA certificates. Note the expiry date when you create one; they can be issued for up to 15 years.
Sources
Error text and meaning checked on 25 September 2026 against these official sources:
- Error 526 — developers.cloudflare.com
- Full (strict) — developers.cloudflare.com
- Cloudflare origin CA — developers.cloudflare.com