【问题标题】:Heroku free SSL for paid dynos not working on "old" app付费测功机的 Heroku 免费 SSL 不适用于“旧”应用程序
【发布时间】:2017-05-13 02:00:18
【问题描述】:

我在 Heroku 上发布免费 SSL Dynos 之前创建了一个 django 应用。

我按照教程here

> heroku certs:auto:enable

Enabling Automatic Certificate Management... done

=== Your certificate will now be managed by Heroku.  Check the status by running 

> heroku certs:auto

=== Automatic Certificate Management is enabled on codetiger


  Domain            Status
 ────────────────  ─────── 
  www.site.com  Failing 
  site.com      Failing

=== Some domains are failing validation, please verify that your DNS matches: heroku domains

当我运行heroku domains 命令时,它会显示以下内容

=== codetiger Heroku Domain
codetiger.herokuapp.com

=== codetiger Custom Domains
Domain Name       DNS Target
────────────────  ──────────────────────────────
www.site.com  www.site.com.herokudns.com
site.com      site.com.herokudns.com

还有

Type    Hostname      Value                      TTL (seconds)  
CNAME   www.site.com  www.site.com.herokudns.com 43200
CNAME   *.site.com site.com.herokudns.com.       1800

即使做了所有这些,当我运行 heroku certs:info 时,我也只看到 site has no SSL certificates

我该怎么做才能让它工作?

【问题讨论】:

    标签: django ssl heroku


    【解决方案1】:

    作为测试,您可以删除通配符 CNAME 吗?目前看起来像 Heroku does not support that

    ACM 不支持具有通配符自定义域的应用程序。

    这些已知限制中的任何其他标志可能会有所帮助?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-07-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多