525 SSL Handshake FailedWhat error 525 means
HTTP 525 'SSL Handshake Failed' is a Cloudflare status code covering exactly one situation: Cloudflare received your request, then attempted its own TLS handshake with the website's origin server — required when the site runs in Full or Full (strict) SSL mode — and that handshake failed. The error page you see is proof that your half of the connection worked.
The failure lives in the origin's TLS setup: no certificate installed on the origin, nothing listening for TLS on port 443, incompatible cipher suites or protocol versions, or SNI misconfiguration on origins hosting multiple sites. During certificate rollovers, or when one node behind a load balancer is misconfigured, 525s can appear intermittently on an otherwise healthy site.
The critical distinction for anyone debugging automation: a 525 is a real HTTP response. If your own client aborts with a TLS error — certificate verification failures, handshake alerts — before any status code arrives, that is a different problem on your side of the wire, with a completely different fix path.