[英]AWS Install SSL Certificate from Amazon Certificate Manager to EC2 Ubuntu
I am using AWS and I'm trying to get an SSL Certificate up and running, I have done the following:我正在使用 AWS,并且正在尝试启动并运行 SSL 证书,我已经完成了以下操作:
Created an instance via EC2 and installed Ubuntu on that instance, all my code is on there and is working with http通过 EC2 创建了一个实例并在该实例上安装了 Ubuntu,我所有的代码都在那里并且正在使用 http
Added an A record for my domain via Route 53. All is working there, I am able to goto my domain and see the website that is on Ubuntu.通过 Route 53 为我的域添加了 A 记录。一切正常,我可以转到我的域并查看 Ubuntu 上的网站。
Created a public SSL Certificate via Amazon Certificate Manager.通过 Amazon Certificate Manager 创建了公共 SSL 证书。 I added the CNAME to where my domain was hosted, but the status never changed to Success so I added the CNAME via Route 53 where my A record is and I now have a status of Success.
我将 CNAME 添加到我的域托管位置,但状态从未更改为成功,因此我通过我的 A 记录所在的 Route 53 添加了 CNAME,现在我的状态为成功。
I really don't know what to do next, I tried following the steps here: https://hackernoon.com/getting-a-free-ssl-certificate-on-aws-a-how-to-guide-6ef29e576d22我真的不知道下一步该怎么做,我尝试按照这里的步骤操作: https://hackernoon.com/getting-a-free-ssl-certificate-on-aws-a-how-to-guide-6ef29e576d22
But that did not work, can anyone point me in the right direction on what I am suppose to do next?但这没有用,有人能指出我下一步应该做什么的正确方向吗? When I try to goto my website with https I get error saying the site cant be reached.
当我尝试使用 https 访问我的网站时,我收到错误消息,提示无法访问该网站。
You need to add load balancer listener and target group.Need to create two PATH 80 -> 443 redirection and 443 -> actual target group.您需要添加负载均衡器侦听器和目标组。需要创建两个 PATH 80 -> 443 重定向和 443 -> 实际目标组。 443 listener can have the certificate.
443 监听器可以有证书。 (If its validated in ACM).
(如果它在 ACM 中验证)。 See the attached image.Add Route53 -> Load Balancer.
请参见附图。添加 Route53 -> 负载均衡器。 When you load the website it will pic the certificate from load balancer.
当您加载网站时,它会从负载均衡器中获取证书。
Thanks谢谢
Ashish阿什什
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.