SSL / monitoring TECHNICAL HANDBOOK / 2026

TROUBLESHOOTING

Separate CDN edge and origin SSL failures

A CDN-proxied website has a browser-to-edge connection and an edge-to-origin connection. Identify which one failed before changing certificates.

Find where it fails

The client-to-edge and edge-to-origin TLS connections use different certificates and policies. An origin certificate, chain or handshake can fail while the edge certificate remains valid.

Identify which TLS leg failed. On Cloudflare, investigate a 525 as an edge-to-origin handshake failure and a 526 as an origin-certificate validation problem in the applicable configuration. Keep the error context and origin logs.

Work through the symptoms

The browser rejects the edge certificate

Inspect the visitor-facing identity and chain using the browser’s actual route.

Cloudflare returns 525

Investigate the origin handshake and terminator logs.

Cloudflare returns 526

Investigate origin-certificate validation in the applicable configuration, including validity, identity and chain.

Run the checks

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.

Generate commands for your terminal →

Apply the fix

Repair the origin listener, certificate, chain or SNI configuration identified by the edge error. Retest both the intended origin connection and a request through the CDN with origin verification retained; a healthy public edge certificate is only one part of the result.

Confirm the result

Retest the origin with its intended trust configuration, then repeat the visitor’s request through the CDN.

Check the deployment details

The edge and origin can have different owners, certificates and deployment schedules. For a restricted origin, run the direct test through its normal internal access path. Check authenticated origin pulls separately if they are enabled.

Keep it monitored

Inventory edge and origin certificate lifecycles separately. Monitor the public certificate visitors receive and schedule an origin check from the appropriate network.

Related error messages

References