Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect cloudflare to heroku with Full SSL

I have a Heroku app with a free account. I also have a free account in Cloudflare.

I am trying to connect them with a Full SSL connection. In cloudflare, I see the following state:

enter image description here

enter image description here

However, I can't access my website with a secure connection. I am getting an error 525: enter image description here

I think the problem is with the settings in Heroku but I can't find much information online...

Any suggestions?

like image 300
Poogy Avatar asked May 12 '18 19:05

Poogy


1 Answers

Use the app URL (appname.herokuapp.com) as CNAME value instead of the domain generated by Heroku.

Resource: https://help.heroku.com/GVS2BTB5/why-am-i-getting-error-525-ssl-handshake-failed-with-cloudflare-when-using-a-herokudns-com-endpoint

like image 159
Vincent Liong Avatar answered Nov 02 '22 20:11

Vincent Liong