Custom domain ssl for heroku application

I want to connect a custom domain to a Heroku-based application. Can someone confirm that I really need to buy a certificate and, in addition, buy an SSL addon on Heroku?

Do I need both or is one of them enough? What is the meaning of the addon?

/Whip

+6
source share
2 answers

If you already use paid dynamos (for example, hashing hosts), you can save some costs by using Heroku SSL for free in your application, instead of paying for SSL Endpoint add . This assumes that your application does not need to support really old browsers (see Minimum supported browser versions .

These add-ons mainly provide protocol support for your SSL application with your private domain.

However, no matter which of the above 2 you choose, you still need to purchase an SSL certificate. There are all sorts of different offers for the actual certificate, including free certificates, for example. from Allow Encryption .

See here for instructions on using the free Let Encrypt certificate on Heroku with Heroku SSL.

On the bottom line: if you already use paid dynodes, you can add full SSL support for your Heroku custom domain for free.

If you think this is too confusing, you can pay a few dollars for a service such as Fast SSL , which gives you a certificate (for a monthly fee) and takes care of the whole issue of installing it and updating it on Heroku.

+7
source

Heroku has simplified the use of SSL for custom domains by assuming that you are not in the free tier plan (if you pay at least one diner, you are good to go).

https://blog.heroku.com/announcing-automated-certificate-management

Basically, if you have a paid plan for your application, Heroku will generate certificates for you and any custom domains that you have added. Then you need to check that you have the correct forwarding setting for your domain provider, etc.

To add ssl to an existing application, you can run:

$ heroku certs:auto:enable -a <app name> 

Then run the following command and make sure your custom domains are returned:

 $heroku domains 
+6
source