heroku:在免费套餐上设置SSL证书吗? [英] heroku: set SSL certificates on Free Plan?

查看:225
本文介绍了heroku:在免费套餐上设置SSL证书吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为heroku(基于nodeJS + Vue的简单应用程序)上的一个应用程序设置一些SSL证书。

I would like to set some SSL certificates for one app I have on heroku (a simple application based on nodeJS + Vue).

我知道是否升级到业余爱好计划(每月7美元)我可以自动获得它。

I know if I upgrade to the Hobby Plan (7$ for month) I can have it automatically.

但是目前对于测试应用程序来说,这笔钱太多了,所以我想知道是否可以

But for now it would too much money for a test application, so I am wondering if I can achieve some similar goal also with a Free Plan.

如此:
是否可以通过免费计划为Heroku JUST上的应用设置SSL证书?
也许通过CLI以复杂/复杂的方式进行操作?

so: Is it possible to set SSL certificate for an app on Heroku JUST with the Free Plan? Maybe in a complicated/tricky way via CLI?

在Heroku页面和文档中,这似乎是不可能的。
但我必须要问:)

From the Heroku pages and documentation it looks not possible. But I have to ask :)

推荐答案

最新答复,但我在这里添加,我只是花了一个小时尝试

Late response but I'm adding here I just spent an hour trying to setup SSL with Heroku - resulting in a dead end.

最重要的是,Heroku提到他们提供免费 SSL证书,但除非您有Hobby($ 7 / mo)或Pro计划,否则确实不是

The bottom line is that Heroku mentions they offer free SSL certificates but that's really not the case unless you have a Hobby ($7/mo) or Pro plan.

此链接

上面关于LetsEncrypt的答案是错误的。尽管您可以获得免费的证书,但是它不能包含在免费的Heroku应用程序中。

The answer above about LetsEncrypt is incorrect. Although you can get a free certificate, it cannot be included in a free Heroku app.

其他用户已指出本文,其中包含分步指南,但该指南已过时,并且提到的实验室选项不再适用于Heroku。

Other users have pointed to this article with a step-by-step guide but the guide is outdated and the 'Labs' option mentioned does not work with Heroku anymore.

请参阅下面的评论,以获取其他建议

在我的特定情况下,我能够在 zeit 上获得免费的SSL。

In my specific case, I was able to get a free SSL on zeit.

这篇关于heroku:在免费套餐上设置SSL证书吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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