Amazon web services 如何将应用于cloudfront dist.的SSL/TLS证书应用于AWS路由53上的域?

Amazon web services 如何将应用于cloudfront dist.的SSL/TLS证书应用于AWS路由53上的域?,amazon-web-services,amazon-cloudfront,amazon-route53,aws-certificate-manager,Amazon Web Services,Amazon Cloudfront,Amazon Route53,Aws Certificate Manager,我设置了cloudfront发行版并为其分配了SSL证书: 云锋的起源指向这里,也许这就是问题所在??: SSL证书本身适用于域*.populationsimulator.com和www.populationsimulator.com: 当我导航到cloudfront dist.URL时,一切看起来都很安全: 我设置了云端dis。URL作为my Route 53域中的别名: 但是,当我导航到Route 53 URL时,事情看起来并不安全,但它们加载的速度足够快,让我相信它现在指向cloudf

我设置了cloudfront发行版并为其分配了SSL证书:

云锋的起源指向这里,也许这就是问题所在??:

SSL证书本身适用于域*.populationsimulator.com和www.populationsimulator.com:

当我导航到cloudfront dist.URL时,一切看起来都很安全:

我设置了云端dis。URL作为my Route 53域中的别名:

但是,当我导航到Route 53 URL时,事情看起来并不安全,但它们加载的速度足够快,让我相信它现在指向cloudfront dist。成功吗?:

当我尝试在URL中包含https时,无法访问该网站:


有关于我哪里出错的提示吗?非常感谢您的帮助

有两件事需要解决:

1.首先,您需要将www.populationsimulator.com添加到CloudFront的备用域的归档CNAME中

二,。。在route53中,您有populationsimulator.com的记录,但没有www.populationsimulator.com的记录,一旦www.populationsimulator.com添加到CloudFront中的CNAME中,您可以在route53中为www.populationsimulator.com创建别名记录

完成上述步骤后,您应该能够使用而不是使用访问网站

要制作,您需要获得主题为的证书
populationsimulator.com和populationsimulator.com也加入CNAME。

谢谢你,詹姆斯!对于第2步,我得到一个别名目标包含无效值错误…另外,你能澄清一下你所说的获取证书是什么意思吗。。。最后一句话中的CNAME?如何将证书放入CNAME?您可以发布一个新的ACM证书,其中包括CloudFront上的populationsimulator.com和*.populationsimulator.com SAN和se in,并在CloudFront的CNAME字段上定义populationsimulator.com和www.populationsimulator.com。啊,好的!一旦我将*.populationsimulator.com作为CNAME添加到CloudFront,它就成功了!非常感谢。