525 errors indicate 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, and
Full or Full (Strict) SSL is set in the Overview tab of your Cloudflare SSL/TLS tab.
STEPS:
Verify if you have installed a Origin CA on your server
Check if Full Strict mode is enabled on your Cloudflare panel