【问题标题】:SSL Error on Heroku appHeroku 应用程序上的 SSL 错误
【发布时间】:2013-08-09 17:58:45
【问题描述】:

我无法让 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.

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

【问题讨论】:

    标签: ssl heroku openssl ssl-certificate


    【解决方案1】:

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

    $ heroku domains:add www.mysite.com
    
    Added www.mysite.com to example... done
    

    【讨论】:

      猜你喜欢
      • 2013-08-25
      • 1970-01-01
      • 2023-03-24
      • 2017-07-08
      • 1970-01-01
      • 1970-01-01
      • 2018-10-29
      • 2014-04-03
      • 1970-01-01
      相关资源
      最近更新 更多