Heroku App的隐私问题

时间:2015-11-15 11:27:42

标签: python heroku flask

当我尝试查找某些页面时,我得到以下内容:

您的连接不是私密的

Attackers might be trying to steal your information from www.xxx.com (for example, passwords, messages or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID
Back to safetyHide advanced
This server could not prove that it is www.xxx.com; its security certificate is from *.herokuapp.com. This may be caused by a misconfiguration or an attacker intercepting your connection.

Proceed to www.xxx.com (unsafe)

我应该怎么做才能防止这种情况发生?不知何故谷歌有https,但我知道我没有支付证书,所有内容都以http格式运行,但网页在谷歌中以http(s)编入索引。

1 个答案:

答案 0 :(得分:1)

您必须使用SSL端点插件。

Heroku使用默认的* .herokuapp.com证书。对于自定义域,您必须使用adon。

https://devcenter.heroku.com/articles/ssl-endpoint