亚马逊 EC2 + SSL [英] Amazon EC2 + SSL

查看:36
本文介绍了亚马逊 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.com with https.

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.

如果有人可以将我引导至某个文档或其他内容,那就太好了.

It would be great if someone can direct me to some document or something.

我在 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.

当我在浏览器中打开公共 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.

推荐答案

事实证明,Amazon 没有为其 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆