4

我无法让 ssl 在我的 heroku 应用程序上正常工作。我已经成功添加了女巫给我的 crt 密钥:

Resolving trust chain... done
Updating SSL Endpoint aichi-7001.herokussl.com for mysite... done
Updated certificate details:
Common Name(s): mysite.com
                www.mysite.com

Expires At:     2013-11-03 23:59 UTC
Issuer:         /OU=Domain Control Validated/OU=Free SSL/CN=www.mysite.com
Starts At:      2013-08-05 00:00 UTC
Subject:        /OU=Domain Control Validated/OU=Free SSL/CN=www.mysite.com
SSL certificate is verified by a root authority.

但是当我尝试在浏览器上加载页面时,我收到以下消息:

This is probably not the site you are looking for!
You attempted to reach www.mysite.com.br, but instead you actually reached a server identifying itself as *.herokuapp.com. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of www.mysite.com.br.
You should not proceed, especially if you have never seen this warning before for this site.

关于我在哪里出错的任何想法?

4

1 回答 1

3

您需要将域 www.mysite.com 添加到您的 Heroku 应用程序中,如下所示:

$ heroku domains:add www.mysite.com

Added www.mysite.com to example... done
于 2013-08-10T14:48:03.243 回答