- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 525 SSL Handshake Failed
525 SSL Handshake Failed
The TLS handshake between Cloudflare and the origin server failed, so no encrypted connection could be set up.
- Class
- Unofficial codes. Not in the IANA registry. These are made up by one piece of software and mean nothing outside it, but they turn up in logs and on error pages often enough.
- Used by
- Cloudflare
What causes it
When Cloudflare is set to connect to the origin over HTTPS (the SSL modes Full and Full (strict)) and the two can't come to terms. The origin has no certificate installed, port 443 is closed, or it only offers versions of the protocol or ciphers that Cloudflare doesn't accept.
What to do about it
As the owner: make sure that the origin has a certificate, listens on port 443 and supports current versions of TLS. A test straight against the origin, with openssl s_client and its IP address, shows what it offers. Visitors can do nothing about it.
Not to be confused with
| 526 Invalid SSL Certificate | The handshake works, but the certificate is not valid. |
|---|---|
| 521 Web Server Is Down | The connection was refused before any handshake. |
All codes are on the list of HTTP status codes, which can be searched by number and by word.