525 SSL Handshake Failed

Cloudflare could not complete the TLS handshake required for its secure connection to the origin.

All HTTP status codes

What does HTTP 525 mean?

The visitor-to-Cloudflare connection can be secure while the separate edge-to-origin handshake fails. A 525 directs attention to that second connection. Compare protocol and cipher support, the requested server name and the certificate the origin actually presents. Disabling secure origin transport may remove the symptom while bypassing the intended protection, so repair the handshake instead.

An investigation example

Illustrative TLS-policy investigation
Public result: 525 SSL Handshake Failed
Origin handshake log reports no shared cipher after a TLS policy change.
Action: restore a secure cipher configuration compatible with Cloudflare.
Verify: the origin handshake and the complete public HTTPS request both succeed.

Common causes

  • The origin's HTTPS listener is unavailable or does not complete the TLS handshake.
  • Protocol, cipher or server-name configuration is incompatible at the origin.
  • A recent certificate or web-server change disrupts origin TLS negotiation.

Diagnose the response

Inspect the origin's TLS listener, certificate presentation, SNI handling and handshake logs for the affected hostname.

  • Inspect origin handshake errors at the failure time and confirm the HTTPS port is listening. Use the intended hostname when testing TLS server-name selection.
  • Check enabled protocols, certificate installation and recent listener changes. Keep the browser-to-edge and edge-to-origin connections separate during diagnosis.
  • Repair the origin TLS configuration and verify the site through Cloudflare. Do not weaken encryption or disable verification as a permanent fix for the failed handshake.

What it means for website monitoring

Review origin TLS separately from the edge certificate seen in the browser. Keep the hostname and failure time when comparing a Sitepulse error with server handshake logs.

Reference