简体   繁体   English

AWS 将 SSL 证书从 Amazon Certificate Manager 安装到 EC2 Ubuntu

[英]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.

相关问题 AWS 从 EC2 上的证书管理器安装 SSL 证书 - AWS Install SSL Certificate from Certificate Manager on EC2 AWS EC2从Godaddy安装SSL证书 - aws EC2 install SSL certificate from Godaddy AWS将SSL从证书管理器(AWS免费提供)安装到ELB,并应用于EC2 Windows Platform IIS实例 - AWS Install SSL from Certificate Manager (Free from AWS) to ELB and apply to EC2 Windows Platform IIS Instance 是否可以使用证书管理器在带有 ssl 的 AWS EC2 上存储网站 - Is it possible to store a website on AWS EC2 with ssl using certificate manager 如何在 AWS EC2 实例上安装 SSL 证书? - How to install SSL Certificate on AWS EC2 Instance? 如何在AWS EC2 IIS上安装SSL证书? - How to install SSL certificate on AWS EC2 IIS? 如何在单个EC2实例上使用CloudFront时启动使用Amazon Certificate Manager安装的SSL证书? - How to get an SSL certificate installed using Amazon Certificate Manager up on using CloudFront for a single EC2 instance? 如何借助新的 AWS Certificate Manager 服务将 SSL 证书添加到 AWS EC2 - How to add SSL certificate to AWS EC2 with the help of new AWS Certificate Manager service 在 Amazon EC2 实例上安装 SSL 证书 - Installing a SSL certificate on Amazon EC2 Instance 需要适用于AWS Windows EC2实例的有效证书。 Amazon Certificate Manager是否提供EC2的证书? - Need a valid certificate for AWS Windows EC2 instance. Does Amazon Certificate manager provide certificates for EC2?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM