Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloudflare - 525 SSL handshake failed

I switched with my Domain to Cloudflare and now I'm trying to use CloudFlare's SSL Feature.

I already own a SSL cert from StartSSL so I would be possible to set the settings to 'Full (Strict)' but I don't want to so I turned it to 'Full'.

Now I'm getting 525 Errors, after a 'Retry for a live Version' everything is okay. But I'm getting this Error everytime.

Has anyone an idea ?

Thank you

Picture of my Error

like image 993
CreatorBlo Avatar asked Dec 05 '15 09:12

CreatorBlo


People also ask

What is a 525 error?

Error 525 indicates that the SSL handshake between Cloudflare and the origin web server failed. This only occurs when the domain is using Cloudflare Full or Full (Strict) SSL mode. This is typically caused by a configuration issue in the origin web server, when this happens, you'll see “Error 525: SSL handshake failed”

Why my SSL is not working Cloudflare?

If you want SSL to work on any of your subdomains with Cloudflare, you will need to have your main domain also enabled on Cloudflare. This is a limitation imposed by the SSL Certificate provider; without the main domain being on Cloudflare, the certificate will not be valid for the subdomains.

What does SSL handshake failed mean?

A TLS/SSL handshake failure occurs when a client and server cannot establish communication using the TLS/SSL protocol. When this error occurs in Apigee Edge, the client application receives an HTTP status 503 with the message Service Unavailable.


2 Answers

Change Cloudflare SSL/TLS encryption mode in to Flexible. it worked for me.

like image 120
sndeep gochar Avatar answered Sep 20 '22 14:09

sndeep gochar


A 525 error indicates that CloudFlare was unable to contact your origin server and create a SSL connection with it.

This can be due to:

  • Your servers not having matching or compatible SSL Ciphers
  • Your website may not have a certificate installed properly
  • Your website may not have a dedicated IP OR is not configured to use SNI

Attempt to contact your hosting provider for assistance to ensure that your SSL certificate is setup correctly. If you are using a control panel, a quick google search can help you find a install guide for that said control panel.

like image 21
BinaryEvolved Avatar answered Sep 21 '22 14:09

BinaryEvolved