在 EC2 上的 apache 实例上启用 SSL [英] Enabling SSL on apache instance on EC2

查看:29
本文介绍了在 EC2 上的 apache 实例上启用 SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 EC2 实例,它使用内置 apache 的 Amazon 自定义 linux 安装.此安装还安装了 openssl.也就是说,httpd.conf 中似乎没有要加载的 mod_ssl.so.

I have an EC2 instance that is using Amazon's custom linux install with built in apache. This install also has openssl installed. That being said, there does not appear to be a mod_ssl.so to load up in httpd.conf.

所以,我想知道让 apache 启用 ssl 的最佳方法,以便我可以设置我的 SSL 虚拟主机(请注意,我已经设置了证书/签名).理想情况下,我不想重建/重新安装 apache.

So, I want to know the best way to get apache to be ssl enabled so I can setup my SSL virtual host (note that I have already setup the cert/signatures). Ideally, I would like to not have to rebuild/reinstall apache.

推荐答案

试试这个命令:

 yum install mod_ssl 

这篇关于在 EC2 上的 apache 实例上启用 SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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