# Cloudflare error 526: invalid SSL certificate

> Cloudflare error 526 means it cannot validate your origin

Canonical: https://scaplet.com/errors/http/526

Guide Error · CDN and hosting

Cloudflare error 526 means it cannot validate your origin's SSL certificate in Full (strict) mode. See what the certificate must meet and your fix options.

4 min

read

7

sources

Oct 23, 2026

updated

Scaplet Editorial Team

author

526 5xx · Server error

The short answer

Cloudflare error 526 means Cloudflare cannot validate the SSL certificate on your origin server while SSL/TLS mode is Full (strict). It is a Cloudflare-defined status, not standard HTTP. Fix the origin certificate (valid, unexpired, trusted, matching hostname, full chain), use a Cloudflare Origin CA certificate, or add a self-signed one to the Custom Origin Trust Store.

1. [What error 526 means and who causes it](#what-error-526-means-and-who-causes-it)
2. [How to get past a 526 as a visitor](#how-to-get-past-a-526-as-a-visitor)
3. [How to fix a 526 as a site owner](#how-to-fix-a-526-as-a-site-owner)
4. [What it does to SEO](#what-it-does-to-seo)

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F526%20(%22Cloudflare%20error%20526%3A%20invalid%20SSL%20certificate%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F526%20(%22Cloudflare%20error%20526%3A%20invalid%20SSL%20certificate%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F526%20(%22Cloudflare%20error%20526%3A%20invalid%20SSL%20certificate%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F526%20(%22Cloudflare%20error%20526%3A%20invalid%20SSL%20certificate%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Explained

## What error 526 means and who causes it

A 526 is a Cloudflare status; IANA lists 512 to 599 as unassigned. Cloudflare says it "indicates that Cloudflare is unable to verify the [SSL certificate](/glossary/ssl-certificate) on your origin server, preventing a secure connection from being established." It occurs when two conditions hold: Cloudflare cannot validate the certificate at your origin, and Full (strict) SSL is set.

Cloudflare's Full (strict) page lists what the origin certificate has to be: unexpired, issued by a publicly trusted certificate authority or Cloudflare's Origin CA, and containing a Common Name or Subject Alternative Name that matches the requested hostname. It also says that turning on Full (strict) without an origin that allows [HTTPS](/glossary/https) on port 443 and presents such a certificate means visitors may see a 526. The origin owner causes and fixes this; compare the handshake-level failure in [525](/errors/http/525).

_02_How it works

## How to get past a 526 as a visitor

Cloudflare says that when most [5xx errors](/errors/http/5xx-errors) appear, the right first step is to contact the hosting provider or site administrator, and that Cloudflare Support only assists the domain owner. As a visitor you can do little beyond waiting and ruling out your own setup.

1. 01

### Reload after a minute

A reload costs nothing and may work if the certificate was being replaced. A 526 that persists means the owner must fix the certificate or the SSL mode.
2. 02

### Try another network or device

If the page loads on mobile data or on someone else's connection, the problem is local. If it fails everywhere, the site has the fault.
3. 03

### Tell the site owner

Send the exact URL, the time with your timezone and the error code. Cloudflare lists those details for owners to give a hosting provider. Add the Ray ID if the error page shows one, since Cloudflare's log tools can filter by it.

_03_How it works

## How to fix a 526 as a site owner

Ask your host or administrator to verify these points on the origin web server:

1. 1

### Not expired, not revoked

Check the certificate dates and revocation status.
2. 2

### Signed by a certificate authority

Cloudflare lists self-signed certificates as a cause.
3. 3

### Hostname is covered

The requested or target hostname must appear in the Common Name or Subject Alternative Name.
4. 4

### Complete chain

The origin must serve the leaf certificate along with any required intermediate CA certificates so Cloudflare can build a trusted chain to a root CA.
5. 5

### Port 443 accepts connections

The origin web server must accept connections on the SSL port, 443.

Fix options for a 526
| Option | What to do | Trade-off |
| Quick workaround | Set SSL to Full instead of Full (strict) in the SSL/TLS app | Cloudflare stops validating the origin certificate, so this is a stopgap |
| Trust a self-signed certificate | Add it to the Custom Origin Trust Store | Cloudflare's edge then recognizes it as valid |
| Use Cloudflare's own CA | Install a Cloudflare Origin CA certificate at the origin | Encrypts Cloudflare-to-origin traffic and works with Full (strict); Cloudflare recommends it when the origin only receives traffic from proxied records |
| Repair the public certificate | Renew or replace it, fix names or chain | Keeps Full (strict) |
Inspect what the origin presents

```
echo | openssl s_client -connect ORIGIN_IP:443 -servername example.com -showcerts 2>/dev/null \ | openssl x509 -noout -subject -issuer -dates -ext subjectAltName
```

Cloudflare also suggests temporarily pausing Cloudflare and running an external SSL checker against the hostname to see problems with the origin certificate.

**526 in Zero Trust and Workers**With Cloudflare Gateway, Cloudflare lists untrusted origin certificates (unknown issuer, revoked, expired chain member, mismatched or invalid common name), insecure cipher suites such as RC4 or 3DES, no FIPS-compliant ciphers in FIPS mode, and redirecting all HTTPS requests to HTTP as causes. Workers subrequests to non-proxied hostnames outside your zone always use Full (strict); trust a self-signed certificate there by adding it to the Custom Origin Trust Store and enabling the `cots_on_external_fetch` compatibility flag.

_04_Explained

## What it does to SEO

Google treats 5xx responses as server errors: its crawlers slow down, content returned with them is ignored, and URLs already indexed are kept for a while but eventually dropped if the errors persist. A 526 reaches crawlers as a 5xx. An expired certificate is one of the origin certificate checks Cloudflare lists; see [expired SSL certificate](/seo-issues/expired-ssl-certificate). See [5xx server errors](/seo-issues/server-errors-5xx) for how to trace the pattern and confirm recovery, and Google's documentation on how [HTTP status codes](/glossary/http-status-codes) affect its crawlers.

Sources · 7

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- cloudflare.com
- iana.org
- google.com

1. 01 [Error 526 - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-526/) developers.cloudflare.com · checked 2026-10-25
2. 02 [Full (strict) - Cloudflare SSL/TLS docs](https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/full-strict/) developers.cloudflare.com · checked 2026-10-25
3. 03 [Encryption modes - Cloudflare SSL/TLS docs](https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/) developers.cloudflare.com · checked 2026-10-25
4. 04 [Cloudflare 5xx errors - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/) developers.cloudflare.com · checked 2026-10-25
5. 05 [IANA: Hypertext Transfer Protocol (HTTP) Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) iana.org · checked 2026-10-25
6. 06 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25
7. 07 [Cloudflare origin CA - Cloudflare SSL/TLS docs](https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/) developers.cloudflare.com · checked 2026-10-25

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What is code 526?

A Cloudflare-specific status meaning Cloudflare cannot verify the SSL certificate on the origin server in Full (strict) mode. It is not defined in the HTTP standard.

_02_ How do I fix error 526?

Make the origin certificate valid: unexpired, not revoked, signed by a certificate authority, covering the hostname and serving the full chain. Or install a Cloudflare Origin CA certificate, or add a self-signed one to the Custom Origin Trust Store.

_03_ Can I bypass error 526 by changing the SSL mode?

Setting SSL to Full instead of Full (strict) can be a quick fix, per Cloudflare, but it stops Cloudflare validating the origin certificate. Treat it as temporary and repair the certificate.

_04_ How do you fix an SSL error on a Cloudflare site?

Identify the code first. A 525 is a failed handshake, a 526 an invalid origin certificate in Full (strict) mode. Each has its own checks on the pages for those errors.

## Keep learning

[All errors](/errors)

[Learn Cloudflare error 525: SSL handshake failed CDN and hosting errors](/errors/http/525) [Related HTTPS Crawling and indexing](/glossary/https) [Read next Cloudflare error 521: web server is down CDN and hosting errors](/errors/http/521) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in errors
[5xx errors](/errors/http/5xx-errors)

More in CDN and hosting errors
[Cloudflare error 521: web server is down](/errors/http/521) [Cloudflare error 522: connection timed out](/errors/http/522) [Cloudflare error 523: origin is unreachable](/errors/http/523) [Cloudflare error 524: a timeout occurred](/errors/http/524) [Cloudflare error 525: SSL handshake failed](/errors/http/525) [Cloudflare error 526: invalid SSL certificate](/errors/http/526) [Cloudflare error 530](/errors/http/530)

Terms on this page
[SSL certificate](/glossary/ssl-certificate) [HTTPS](/glossary/https) [HTTP status codes](/glossary/http-status-codes)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
