Community Tip - Fixing Error 525: SSL handshake failed

#1

Error
Try the suggestions in this Community Tip to help you fix Error 525: SSL handshake failed.

Background
Error 525 indicates that the SSL handshake between Cloudflare and the origin web server failed. This only occurs when the domain is using Cloudflare Full or Full (Strict) SSL mode. This is typically caused by a configuration issue in the origin web server, when this happens, you’ll see “Error 525: SSL handshake failed”.

Quick Fix Ideas

  1. If you are a site visitor, report the problem to the site owner. Neither this Community nor Cloudflare Support can assist you. Cloudflare Support only works with the verified owner of the domain.

  2. Make sure you have a valid SSL certificate installed on your origin server.

  3. Check with your hosting provider to make sure they’re listening on port 443.

  4. Check to make sure your origin server is properly configured for SNI.

  5. The cipher suites that Cloudflare accepts and the cipher suites that the origin server supports do not match. Review the cipher suites your server is using to ensure they match what is supported by Cloudflare.

  6. If you are the site owner and you’re only seeing errors intermittently, this suggests the TCP connection between Cloudflare and your origin is being reset during the SSL handshake causing the error. Ask your hosting provider/system administrator to check if there are any server issues. Reviewing your webserver access/error logs would be a good place to locate this information.

  7. Note that Apache must be configured to log mod_ssl errors and nginx includes these errors in its standard error log, but it may be necessary to increase the log level.

  8. Pause Cloudflare or update your local hosts file to point directly at your server IP to test that your server is presenting a SSL certificate. If you do not have a certificate installed on your server you can generate one using our Origin CA certificates. This is a free certificate for the purpose of encrypting the connection between Cloudflare and your web server, so that you do not need to purchase a certificate.

Lite Reading

Background Resources
Knowledge Base
YouTube

Research The Issue
Community
Google

If You Need More Help
This community of other Cloudflare users may be able to assist you, if not, login to Cloudflare and then contact Cloudflare Support. When you contact support, make sure to include as much of this information as possible: time stamped log files from your origin server, RayID, domain name, error messages, screen shots, and/or HAR file(s). Indicate which of the Quick Fix ideas you’ve tried in order to help Customer Support help you.

Expert Comments Appreciated
This Community Tip will remain open for input from Community experts and those familiar with this issue. We really appreciate comments that start with words like: “The three things I always try”, or “Do this first” or “In my experience”.

This is a Cloudflare Community Tip, to review past tips click here.

0 Likes

525 error SSL handshake
Error 525 and Error 520
Web server changed. 525 error
Unstable service
SSL Certificate?
520 Error with WordPress Divi Builder
SSL Problems Handshake Error, Activate Certificates?
Gmail mail.*yourwebsite*.com no longer works with cloudflare
Cant able to fix Error 525
Unusual 525 error with website
How many 525 errors am I getting?
DNS & Network
Cant set up Port
Help, site is not working, please help
Сменил DNS у регистратора доменов но сайт не заработал
SSL handshake failed with Nginx ubantu 10.0
Problems with redirects
pinned #2
0 Likes

closed #3

This topic was automatically closed after 14 days. New replies are no longer allowed.

0 Likes