我无法让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.
关于我在哪里犯错的任何想法?
答案 0 :(得分:3)
您需要将域名www.mysite.com添加到您的Heroku应用中,如下所示:
$ heroku domains:add www.mysite.com
Added www.mysite.com to example... done