Error 525
This error indicates that the SSL handshake between Cloudflare and the origin web server failed.
Error 525 occurs when these two conditions are true:
- The SSL handshake ↗ fails between Cloudflare and the origin web server.
- Full or Full (Strict) SSL is set in the Overview tab of your Cloudflare SSL/TLS app.
Contact your hosting provider to exclude the following common causes at your origin web server:
- No valid SSL certificate is installed.
- Port
443(or another custom secure port) is not open. - No SNI support.
- The cipher suites used by Cloudflare do not match the cipher suites supported by the origin web server.
-
Verify that a certificate is installed on your origin server. For details on running tests, refer to Troubleshoot requests with curl. If no certificate is installed, you can generate and install a free Cloudflare origin CA certificate to encrypt traffic between Cloudflare and your origin web server.
-
Review the cipher suites used by your server to ensure they are compatible with Cloudflare.
-
Check your server's error logs from the timestamps when
525errors occur to identify any issues causing the connection to be reset during the SSL handshake.
Use Origin Analytics to check whether SSL handshake failures are affecting specific endpoints. The Origin status codes chart shows when Cloudflare received no HTTP response from your origin (originResponseStatus of 0), which can indicate TLS negotiation failures. Cross-reference these timestamps with your origin SSL error logs to pinpoint the cause.