All error codes / Cloudflare errors (52x)

525 SSL Handshake Failed – what does it mean?

Cloudflare cannot set up an encrypted connection to the website’s server. The HTTPS setup on the server is missing or broken.

Usually caused by: the website

What does 525 SSL Handshake Failed mean?

When Cloudflare is set to “Full” or “Full (strict)”, it contacts the origin server over HTTPS. 525 means this encrypted connection setup failed.

Causes are a missing certificate on the server, port 443 without HTTPS, no common TLS version, or a server that does not know the requested name (SNI).

Is it me or the website?

It is the website’s server.

What you can do as a visitor

  • Wait, the owner has to fix the problem.
  • The connection between you and Cloudflare is not affected.

What you can do as the site owner

  • Is a certificate for the domain installed on the server and active on port 443?
  • Test the server directly with openssl s_client -connect IP:443 -servername yourdomain.com.
  • Enable TLS 1.2 and 1.3.
  • A free origin certificate from Cloudflare or Let’s Encrypt is enough.

All error codes