Mobile app version of vmapp.org
Login or Join
Sherry384

: Use SSL on Heroku without paying Heroku for SSL? In this post, the author suggest a way to get SSL on Heroku without paying Heroku for it: Pay Cloudflare for premium service, and get SSL

@Sherry384

Posted in: #Cloudflare #Heroku #Https

In this post, the author suggest a way to get SSL on Heroku without paying Heroku for it:


Pay Cloudflare for premium service, and get SSL support with it.
Create a CNAME in cloudflare that points to the Heroku subdomain of your app (appname.herokuapp.com), which piggybacks Heroku's SSL.


Is there any potential issue with such a method?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sherry384

1 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

You can use CloudFlare's paid level plan (pro or above) and then use our Flexible SSL option which means we'd be connecting to your back-end (like Heroku in this case) over HTTP ...meaning you would not need to have SSL enabled at Heroku.

So with Flexible SSL this is how things look --

visitor <-- HTTPS --> CloudFlare <-- HTTP --> Heroku

Discussed here also: support.cloudflare.com/hc/en-us/articles/200170416-What-do-the-three-SSL-options-off-Flexible-Full-mean-
so with Flexible SSL your visitors can still access your website using HTTPS, but CloudFlare would be connecting to your back-end at Heroku using HTTP.

p.s. in the future I would recommend opening a support ticket with CloudFlare directly. Our support team would be able to answer this question for you quickly. :)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme