- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 526 Invalid SSL Certificate
526 Invalid SSL Certificate
Cloudflare could not validate the certificate of the origin server. It appears when the SSL mode is set to Full (strict).
- Class
- Unofficial codes. Not in the IANA registry. These are made up by one piece of software and mean nothing outside it, but they turn up in logs and on error pages often enough.
- Used by
- Cloudflare
What causes it
In Full (strict) mode Cloudflare checks the certificate of the origin the way a browser would. It answers 526 when the certificate has expired, is self-signed or was issued for another host name.
What to do about it
As the owner: renew or replace the certificate on the origin. A free certificate from Cloudflare's own Origin CA is valid for this purpose. Setting the SSL mode to Full makes the error go away because the check is skipped, and that takes away the protection as well, so treat it as a stopgap.
Not to be confused with
| 525 SSL Handshake Failed | The handshake itself fails. |
|---|
All codes are on the list of HTTP status codes, which can be searched by number and by word.