亚马逊EC2 + SSL [英] Amazon EC2 + SSL
问题描述
我想在EC2实例上启用ssl。我知道如何安装第三方SSL。我还在安全组中启用了ssl。
I want to enable ssl on an EC2 instance. I know how to install third party SSL. I have also enabled ssl in security group.
我只想使用如下网址:ec2-xx-xxx-xxx-xx.compute-1.amazonaws。
I just want to use a url like this: ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com with https.
我找不到任何地方的步骤。
I couldn't find the steps anywhere.
如果有人可以
编辑:
我在EC2上有一个实例。我在上面安装了LAMP。在安全组策略中,我还启用了http,https和ssh。
I have a instance on EC2. On Which I have installed LAMP. I have also enabled http, https and ssh in the security group policy.
当我在浏览器中打开Public DNS url时,可以看到Web服务器运行正常。
但是当我将https添加到URL时,什么也没发生。
When I open the Public DNS url in browser,I can see the web server running perfectly. But When I add https to URL, nothing happens.
我有想念的方式吗?我真的不想在此实例上使用任何自定义域,因为我将在一个月后终止它。
Is there a way I am missing? I really dont want to use any custom domain on this instance because I will terminate it after a month.
推荐答案
不为开箱即用的EC2实例提供ssl证书。我跳过了他们是虚拟服务器提供商的部分。
Turns out that Amazon does not provide ssl certificates for their EC2 instances out of box. I skipped the part that they are a virtual servers providers.
要安装ssl证书,即使是基本证书,也需要从某人处购买并手动在服务器上安装。
To install ssl certificate even the basic one, you need to buy it from someone and install it manually on your server.
我使用startssl.com他们提供免费的基本ssl证书。
I used startssl.com They provide free basic ssl certificates.
这篇关于亚马逊EC2 + SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!