【发布时间】:2019-07-03 18:33:30
【问题描述】:
我在 Google 域购买了一个域名。 (例如:example.net)
但我未能在 Heroku 配置 SSL(我使用爱好 dynos)。
ACM 总是失败,我不知道如何使用它。
在 Heroku:
我在网站中添加域,而不是 CLI,它出来了
Domain Name DNS Target
example.net <random String>.herokudns.com
然后在 Google 域中
在合成记录中
我设置了
@.example.net ->http://www.example.net
Temporary redirect (302)
Do not forward path
Enable SSL
在自定义资源记录中
Name Type TTL data
www CNAME 1H <random String>.herokudns.com
在所有这些之后,我点击 config SSL-Automatically 我得到的只是
ACM is failing for 1 domain name
example.net - CDN not returning HTTP challenge
我检查了文档
CDN not returning HTTP challenge
Heroku ACM is attempting to to verify that the HTTP challenge file is being
returned, but is encountering a 404 error. This typically happens when you
are pointing your domain at a CDN, rather than the Heroku provided DNS
target, and the HTTP challenge file does not exist on the CDN.
This typically happens with AWS CloudFront.
【问题讨论】:
标签: ssl heroku google-domains