用于heroku应用程序的自定义域 [英] ssl on custom domain for heroku app

查看:123
本文介绍了用于heroku应用程序的自定义域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将自定义域连接到构建在Heroku上的应用程序。有人可以证实我确实需要购买证书,另外购买Heroku上的SSL插件吗?

I want to connect a custom domain to an app built on Heroku. Can someone confirm that I actually need to buy a certificate and in addition buy the SSL addon on Heroku?

我需要两者还是足够?什么是插件?

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

/ Knut

推荐答案

如果您已经在使用付费dynos(例如Hobby dynos),那么您可以使用 Heroku SSL 免费在您的应用程序中,而不是支付 SSL端点附加项
这假设您的应用不需要支持真正的旧浏览器(请参阅最低支持的浏览器版本

If you are already using paid dynos (e.g. Hobby dynos) then you can save some costs by using Heroku SSL for free in your app, instead of paying for the SSL Endpoint add on. This is assuming your app doesn't need to support really old browsers (see Minimum supported browser versions.

这些附加功能基本上为您的应用程序提供SSL所需的协议提供了支持。

These add ons basically provide the protocol support your app needs for SSL with your private domain.

但是,无论您选择哪种上述2,您仍需要另外购买SSL证书。实际证书有各种不同的产品,包括免费证书,例如来自 Let's Encrypt

However, regardless of which of the above 2 you choose, you will still need to acquire in addition an SSL certificate. There are all kinds of different offerings for the actual certificate, including free certificates e.g. from Let's Encrypt.

参见这里有关在Heroku上使用免费Let's Encrypt证书的说明与Heroku SSL。

See here for instructions on using a free Let's Encrypt certificate on Heroku with Heroku SSL.

底线:如果您已经在使用付费dynos,应该可以添加完整的SSL支持f或者您自定义的Heroku域名。

Bottom line: If you are already using paid dynos, it should be possible for you to add full SSL support for your custom Heroku domain for free.

如果您发现上述内容太令人困惑,您可能需要为服务支付一些费用,例如加急SSL ,它为您提供证书(每月收费),并负责安装和维护的整个问题它在Heroku上更新。

If however you find the above too bewildering, you might want to pay a few bucks for a service such as Expedited SSL, which gives you a certificate (for a monthly fee) and takes care of the whole issue of installing it and keeping it updated on Heroku.

这篇关于用于heroku应用程序的自定义域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆