Free auditStart free
GuideError · CDN and hosting

Cloudflare error 526: invalid SSL certificate

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
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
  2. How to get past a 526 as a visitor
  3. How to fix a 526 as a site owner
  4. 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 withChatGPTClaudePerplexityGoogleAI Mode
01Explained

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 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 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.

02How it works

How to get past a 526 as a visitor

Cloudflare says that when most 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.

03How 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
OptionWhat to doTrade-off
Quick workaroundSet SSL to Full instead of Full (strict) in the SSL/TLS appCloudflare stops validating the origin certificate, so this is a stopgap
Trust a self-signed certificateAdd it to the Custom Origin Trust StoreCloudflare's edge then recognizes it as valid
Use Cloudflare's own CAInstall a Cloudflare Origin CA certificate at the originEncrypts Cloudflare-to-origin traffic and works with Full (strict); Cloudflare recommends it when the origin only receives traffic from proxied records
Repair the public certificateRenew or replace it, fix names or chainKeeps 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.

04Explained

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. See 5xx server errors for how to trace the pattern and confirm recovery, and Google's documentation on how 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. 01Error 526 - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  2. 02Full (strict) - Cloudflare SSL/TLS docsdevelopers.cloudflare.com · checked 2026-10-25
  3. 03Encryption modes - Cloudflare SSL/TLS docsdevelopers.cloudflare.com · checked 2026-10-25
  4. 04Cloudflare 5xx errors - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  5. 05IANA: Hypertext Transfer Protocol (HTTP) Status Code Registryiana.org · checked 2026-10-25
  6. 06How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
  7. 07Cloudflare origin CA - Cloudflare SSL/TLS docsdevelopers.cloudflare.com · checked 2026-10-25
Questions

Asked a lot.

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

01What 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.

02How 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.

03Can 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.

04How 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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane