Error 525 SSL handshake failed (not using my own certificate)

I’m just getting started using Cloudflare but I ran into an issue where I’m getting this error:

Error 525 SSL handshake failed

I want to use Cloudflare’s TLS/SSL certificate without having my own certificate on my server. I heard that this was possible but how?

Right now it seems like this is happening:

  1. I open https://www.mydomain.com/
  2. Cloudflare proxies it to my IP https://201.80.113.87:443/ (over HTTP/TLS)
  3. My home server doesn’t respond with a valid TLS/SSL certificate so it fails

But I don’t want to have to have a certificate on my home server, I want to use only Cloudflare’s certificate so my request https://www.mydomain.com/ could get proxied to http://201.80.113.87:80/

How can I achieve this?

@sandro But I heard it is possible to proxy it to a different port isn’t it?

@sandro I don’t need Full SSL encryption up to my server. It is ok for me only if it’s encrypted from client -> cloudflare. I know that reverse proxy can proxy it to port 80 so it must be possible some how…

I think I figured it out! I had to go to SSL in my cloudflare and turn off Full encryption and enable Flexible encryption. Now it seems like all https://... traffic is proxied to http://... which is what I wanted! Thanks Cloudflare!

This topic was automatically closed after 31 days. New replies are no longer allowed.