SSL / monitoring TECHNICAL HANDBOOK / 2026

SSL ERRORS

526 Invalid SSL certificate: causes and fixes

Cloudflare rejected the origin certificate. For a website using Full (strict), check its validity dates, hostname and chain at the origin.

What it means

The origin needs a certificate that meets Cloudflare’s validation requirements. Compare its hostname, validity and chain with the origin selected for the failing request. An Origin CA certificate is designed for this connection; direct browser access uses a different trust store.

What to check

  1. Confirm the SSL mode and whether this is a proxied-website error or a separate Zero Trust context.
  2. Inspect the origin certificate’s dates, SANs and configured chain.
  3. Compare the origin hostname/SNI and backend selected for the failing request.

Test the connection

curl -Iv --connect-timeout 10 --max-time 20 https://www.example.com/
# Authorized origin test with the same hostname:
curl -Iv --resolve 'www.example.com:443:192.0.2.20' https://www.example.com/

Use the origin’s IP for the second request. Cloudflare Origin CA certificates use Cloudflare’s origin trust; a direct test needs that trust configured. Publicly trusted origin certificates can be checked with the client’s public CA store.

Choose Windows, macOS or Linux commands →

How to fix it

  1. Replace an expired origin certificate or deploy one covering the intended origin identity.
  2. Correct a missing intermediate chain or unintended default virtual host.
  3. Use a supported public chain, Origin CA or an appropriately configured approved origin trust arrangement for the deployment.

Check the fix

Retest the original route through Cloudflare with strict origin validation retained. Verify the correct origin material is active across the intended backend set.

Details worth checking

Cloudflare Origin CA certificates are trusted for the Cloudflare-to-origin connection. Use a publicly trusted certificate if browsers also need to connect directly to the origin.

Related guides

Related errors

References