5xx Server Error
Not part of the HTTP standard
525 SSL Handshake Failed
Cloudflare-specific: the TLS handshake with the origin failed.
What causes it
- No valid certificate on the origin while the SSL mode is Full (strict).
- A cipher or TLS-version mismatch.
How to fix it
- Install a valid origin certificate, or switch the SSL mode to match what the origin supports.
At a glance
- Class
- 5xx Server Error
- Reference
- Cloudflare (non-standard)
- Standardised
- No — vendor extension
- Retry the request?
- Only if idempotent
Other 5xx server error codes
- 500 Internal Server Error
- 501 Not Implemented
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
- 505 HTTP Version Not Supported
- 506 Variant Also Negotiates
- 507 Insufficient Storage
- 508 Loop Detected
- 510 Not Extended
- 511 Network Authentication Required
- 520 Web Server Returned an Unknown Error
- 521 Web Server Is Down
- 522 Connection Timed Out
- 523 Origin Is Unreachable
- 524 A Timeout Occurred
- 526 Invalid SSL Certificate