Cloudflare Error 526: Invalid SSL Certificate
Quick answer
Error 526 means Cloudflare cannot validate your origin certificate in Full (strict) mode. Use a Cloudflare Origin CA or CA-signed certificate, or switch to Full as a stopgap.
Most likely fix: Quick stopgap
How to fix it
Try these in order — the most common fix is first.
1. Quick stopgap
- Go to SSL/TLS > Overview
- Change Full (strict) to Full (accepts self-signed, still encrypted)
Did this fix it?2. Install a valid origin certificate
- Create a Cloudflare Origin CA certificate in SSL/TLS > Origin Server and install it with its key
- Or use a Let's Encrypt certificate
Did this fix it?3. Check the certificate
- Verify not expired, name matches via CN/SAN, and full chain served
- Pause Cloudflare briefly and run the hostname through an external SSL checker
Did this fix it?4. Workers subrequests
- Subrequests to non-proxied hosts always use Full (strict)
- Add self-signed certs to the Custom Origin Trust Store and enable cots_on_external_fetch
Did this fix it?
Symptoms
'Error 526 Invalid SSL certificate' on a site using Full (strict).
Why it happens
- Origin certificate expired or revoked
- Self-signed certificate under Full (strict)
- Certificate name does not match the hostname
- Missing intermediate certificates
This guide also covers
- cloudflare error 526
- invalid ssl certificate cloudflare
- 526 cloudflare full strict
Still not working?
If Cloudflare keeps failing, you're not alone. See every Cloudflare problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther Cloudflare errors
- Cloudflare Error 521: Web Server Is Down
- Cloudflare Error 522: Connection Timed Out
- Cloudflare Error 524: A Timeout Occurred
- Cloudflare Error 525: SSL Handshake Failed
- Cloudflare Error 520: Web Server Returned an Unknown Error
- Cloudflare Error 1020: Access Denied
- Cloudflare Error 1015: You Are Being Rate Limited
- Cloudflare Error 1016: Origin DNS Error