gpt4 book ai didi

amazon-web-services - Google Domains 和 AWS Route 53 和 S3 静态 Web 托管 - 添加 SSL 证书

转载 作者:行者123 更新时间:2023-12-04 22:41:12 30 4
gpt4 key购买 nike

我有一个使用 S3 存储桶托管的 react 网站。我通过 Google 购买了我的域并配置了 Route 53,以便该域可以导航到我的存储桶。 (我遵循的说明:here。我现在正在尝试添加 SSL 证书,以便它不再“不安全”。

我去了 AWS 的认证经理那里并创建了一个证书。创建它后,我被提示“将证书发送到 Route 53”并认为“这很容易吗?”。答案是不。

这就是我所得到的。我在 Cloudfront 的其他问题中看到一些提及,我对此一无所知,并希望避免研究我可能不需要的东西。

我的下一步是什么?

最佳答案

I went to AWS to the certification manager and created a cert. After creating it, I was prompted to "send the cert to Route 53" and thought "Could it be this easy?". The answer is no.



您的域在 Google,而不是 AWS Route53。因此它没有工作。您必须 手动创建 CNAME 记录 ACM 要求在 Google 中确认您的证书。笔记。在 中创建它us-east-1 地区 .

创建并确认 ACM 证书后,您必须设置 CloudFront (CF) 分发 为您的 S3 网站。以下 AWS 博客中描述了如何执行此操作:
  • How do I use CloudFront to serve a static website hosted on Amazon S3?

  • 当您创建 CF 时,您可以选择提供 alternative CNAME .在那里,您可以从谷歌指定您的自定义域以及来自 ACM 的 SSL 证书。

    设置完成后,您将在 google 中的域指向 CF 发行版。

    关于amazon-web-services - Google Domains 和 AWS Route 53 和 S3 静态 Web 托管 - 添加 SSL 证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62353339/

    30 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com