525 SSL Handshake Failed

The TLS handshake between Cloudflare and the origin failed.

Status

HTTP/1.1 525 SSL Handshake Failed

Details

525 means Cloudflare reached the origin but could not agree on TLS. Common causes are no valid certificate on the origin, no cipher suite in common, or the origin not serving TLS on port 443 at all while Cloudflare is configured for Full SSL mode.

It is a configuration mismatch between the edge SSL mode and what the origin actually supports.

Common causes

How to fix it

As the client

As the server

Examples

GET / HTTP/1.1
Host: www.example.com

HTTP/1.1 525
Server: cloudflare

See also