Sam*_*mLI 5 ssl heroku google-domains
我在 Google Domains 购买了一个域名。(例如:example.net)
但我未能在 Heroku 上配置 SSL(我使用业余爱好 dynos)。
ACM 总是失败,我不知道如何使用它。
在 Heroku 中:
我在网站中添加域,而不是 CLI,它出来了
Domain Name DNS Target
example.net <random String>.herokudns.com
Run Code Online (Sandbox Code Playgroud)
然后在
我设置的 合成记录中的 Google 域中
@.example.net ->http://www.example.net
Temporary redirect (302)
Do not forward path
Enable SSL
Run Code Online (Sandbox Code Playgroud)
在自定义资源记录中
Name Type TTL data
www CNAME 1H <random String>.herokudns.com
Run Code Online (Sandbox Code Playgroud)
在所有这些之后,我单击配置 SSL-Automatically,我得到的只是
ACM is failing for 1 domain name
example.net - CDN not returning HTTP challenge
Run Code Online (Sandbox Code Playgroud)
我检查了文档
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.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
414 次 |
| 最近记录: |