Error 525 means Cloudflare could not finish a secure connection to your origin server. Here is how to find the cause and fix it the right way.
WebNewBiz TeamChecked against each platform's own help pages
Your client's website sits behind Cloudflare, and instead of the page, visitors get "Error 525: SSL handshake failed." This hits agencies and freelancers who manage sites on hosting they did not set up. The error means Cloudflare could not complete a secure connection to the origin server. This guide explains what causes 525, how to tell which cause you have, and how to fix it properly without turning off encryption.
On this page
Error 525 only happens when your Cloudflare SSL/TLS encryption mode is set to Full or Full (strict). In those modes Cloudflare insists on a secure connection to your origin, and 525 means that handshake failed. According to Cloudflare, a handful of things at the origin cause it. Find the row that matches your symptom before you change anything.
| Likely cause | How to tell it is this one |
|---|---|
| No valid certificate at the origin (missing, expired, or self-signed while in Full strict) | The site loads if you switch to Flexible, but 525 returns the moment you go back to Full or Full (strict). This is the most common cause. |
| Port 443 is closed or the web server is not listening on it | Cloudflare cannot reach HTTPS at all. You may also see a 522 on some requests. |
| No shared cipher suite or an unsupported TLS version | 525 shows on some requests, or it started right after a server or operating system update that changed TLS settings. |
| The origin does not support SNI | 525 on a server that hosts several HTTPS sites behind one IP address. |
| A compliance key exchange setting the origin cannot match | 525 began after you turned on a FIPS or post-quantum option in Cloudflare. |
If you look after many client sites, note that each one can fail for a different reason, so diagnose per site rather than applying one blanket change.
Start by seeing what Cloudflare is actually asking for. In the Cloudflare dashboard, open SSL/TLS, then Overview, and read the current SSL/TLS encryption mode. If it says Full or Full (strict), 525 is telling you the origin cannot hold up its end.
Do not switch to Flexible to make the error disappear. Flexible encrypts only the visitor to Cloudflare leg and sends Cloudflare to origin traffic over plain HTTP, which leaves that part of the journey exposed. Cloudflare recommends Full or Full (strict). Fixing the origin is the right move.
Now test the origin itself. From your own computer, run a direct HTTPS request to the origin's IP address, for example curl -v https://your-origin-ip (replace with the real IP, and add the host header if the server needs it). What you want to learn:
This one test usually tells you whether you are chasing a missing certificate, a closed port, or a cipher mismatch. Keep the output: you will want it if you need to contact the host.

WebNewBiz sites include hosting and SSL that is issued and renewed for you, so there is no origin certificate to install and no error 525 to chase across client sites.
If the origin has no valid certificate, or the handshake fails because the certificate is self-signed while you are in Full (strict), the clean answer is a free Cloudflare Origin CA certificate. It encrypts traffic between Cloudflare and your origin and is trusted by Cloudflare, so you do not need to pay for or renew a public certificate just for this link. Full (strict) accepts a certificate issued by a publicly trusted authority or by Cloudflare's Origin CA, as long as it is unexpired and matches the hostname.
Following Cloudflare's own steps:
With a valid certificate in place, go back to SSL/TLS, then Overview, and set the mode to Full (strict). Load the site in a fresh browser tab or in private mode. If the page returns and the padlock shows, the handshake is working. Reading more at Cloudflare's Origin CA certificate docs helps if your web server is unusual.
A certificate is no use if Cloudflare cannot reach the secure port. If your Fix 1 test could not open an HTTPS connection at all, check this next.
After changing firewall or server settings, restart the web server and test again with the direct curl command from Fix 1. When the handshake completes to the origin, reload the public site through Cloudflare.
If the certificate is valid and port 443 is open but 525 still shows, Cloudflare and the origin cannot agree on how to encrypt. Cloudflare lists two triggers here: the cipher suites Cloudflare uses do not match those the origin supports, and the origin not supporting SNI.
To pin down an intermittent 525, cross-reference the error timestamps with your origin's SSL error logs, as Cloudflare advises. That tells you which request and which cipher failed. For the related timeout error, see our guide on Cloudflare error 522 connection timed out.

Most repeat 525 errors come from certificates that expire or servers that drift out of sync. A few habits keep it from coming back:
If you run many sites, our notes on managing multiple client websites cover keeping track of certificates and settings across accounts.
Collect the details before you ask for help, so you are not sent round in circles:
With that in hand, contact the hosting provider for the origin, since 525 is an origin-side problem, and open a ticket with Cloudflare support if the origin looks healthy. Cloudflare's error 525 page is the reference to quote. If you are also fighting a redirect loop on the same site, see Cloudflare too many redirects.
Does error 525 mean my site is hacked?
No. Error 525 means Cloudflare could not complete a secure (SSL/TLS) connection to your origin server while in Full or Full (strict) mode. It points to a certificate, port or cipher problem at the origin, not a breach. The fix is to make the origin serve a valid HTTPS connection again.
Should I switch Cloudflare to Flexible mode to stop error 525?
No. Flexible mode hides the error by sending traffic from Cloudflare to your origin unencrypted, which leaves that part of the trip exposed. Cloudflare recommends Full or Full (strict). The proper fix is to install a valid certificate at the origin, such as a free Cloudflare Origin CA certificate, and keep Full (strict).
What is the difference between error 525 and error 522?
Error 522 means Cloudflare could not open a TCP connection to the origin at all (a timeout). Error 525 means the connection opened but the SSL handshake failed, usually because the origin has no valid certificate, port 443 is not listening, or there is no shared cipher. They need different fixes.
Is a Cloudflare Origin CA certificate free?
Yes. A Cloudflare Origin CA certificate is available on all plan tiers, including the free plan. It only encrypts traffic between Cloudflare and your origin server, so browsers never see it directly, and it can be issued for a long validity period so you do not renew it often.
Error 525 only shows on some requests, not all. Why?
Intermittent 525 errors usually point to a cipher suite or TLS version mismatch, or to one server in a load-balanced origin that has a bad or expired certificate. Check the SSL settings and certificate on every origin server, and cross-reference the error timestamps with your origin SSL logs.
Error 525 is a cost of running your own origin and SSL stack behind Cloudflare: certificates to install, ports to open, ciphers to keep current, across every client site. If that upkeep is not where you want your time, a managed platform takes it off your plate. On WebNewBiz, hosting and SSL are included and the certificate is issued and renewed for you, so there is no origin certificate to juggle and no 525 to chase.
It is a younger platform with a smaller app ecosystem than Wix or Shopify, and the AI first draft still needs your own edits and photos, so it will not suit every project. If it fits, you can Create your website for $1: the first month is $1, then $19 a month for the Starter plan, cancel any time. Agencies managing many client sites can talk to us about white-label.
Describe your business and the AI builds your website, store and CRM. Try it free for 3 days, no card needed.