Error 525 - SSL handshake failed error

I’ve done this before and it worked but when I reconnected the custom domain to my project using a Cloudflare domain name I am getting this error.

Never seen this error before and I don’t know what to do. I have another project connected to the origin domain using the same SSL settings and it works like it should without this error. How can I fix this?

only fix is to set ssl to flexible


That didn’t do anything. Still the same error.

Working now after a bit. Thanks. I wish I could use Full instead of Flexible.

Yeah, unfortunately at some point it randomly stopped working