Google 域和 AWS Route 53 和 S3 静态网络托管 - 添加 SSL 证书
Google Domains and AWS Route 53 and S3 static web hosting - Add SSL Cert
我有一个使用 S3 存储桶托管的 React 网站。我通过 Google 购买了我的域并配置了 Route 53,以便该域可以导航到我的存储桶。 (我遵循的说明:here。我现在正在尝试添加 SSL 证书,这样它就不再是 "not secure"。
我去 AWS 找了认证经理并创建了一个证书。创建好后提示"send the cert to Route 53",想到"Could it be this easy?"。答案是否定的。
就我所知。我在 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。因此它没有用。您必须手动创建 ACM 在 Google 中要求的 CNAME 记录 以确认您的证书。笔记。在 us-east-1 地区.
创建
创建并确认 ACM 证书后,您必须为您的 S3 网站设置 CloudFront (CF) 分发。以下 AWS 博客中描述了如何执行此操作:
当您创建 CF 时,您可以选择提供 alternative CNAME。在那里,您可以指定来自 google 的自定义域及其来自 ACM 的 SSL 证书。
设置完成后,您将 google 中的域指向 CF 分发。
我有一个使用 S3 存储桶托管的 React 网站。我通过 Google 购买了我的域并配置了 Route 53,以便该域可以导航到我的存储桶。 (我遵循的说明:here。我现在正在尝试添加 SSL 证书,这样它就不再是 "not secure"。
我去 AWS 找了认证经理并创建了一个证书。创建好后提示"send the cert to Route 53",想到"Could it be this easy?"。答案是否定的。
就我所知。我在 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。因此它没有用。您必须手动创建 ACM 在 Google 中要求的 CNAME 记录 以确认您的证书。笔记。在 us-east-1 地区.
创建创建并确认 ACM 证书后,您必须为您的 S3 网站设置 CloudFront (CF) 分发。以下 AWS 博客中描述了如何执行此操作:
当您创建 CF 时,您可以选择提供 alternative CNAME。在那里,您可以指定来自 google 的自定义域及其来自 ACM 的 SSL 证书。
设置完成后,您将 google 中的域指向 CF 分发。