mod_ssl vs mod24_ssl AWS

时间:2017-07-11 22:21:08

标签: amazon-web-services mod-ssl

通过动议为我的网站启动并运行TLS。我在AWS文档下阅读

sudo yum install -y mod24_ssl

但是在某些依赖项上遇到了冲突。

我最后读了一篇博客,其中有人提到sudo yum install mod_ssl,我最终没有遇到任何问题。有人能告诉我这个安全吗? mod_ssl和mod24_ssl之间的区别是什么?

由于

2 个答案:

答案 0 :(得分:1)

正如@stdunbar所说,Record<"green" | "black" | "white", THREE.MeshBasicMaterialParameters> 适用于Apache 2.2,mod_ssl适用于Apache 2.4。

除了Version:

之外,我们可以看到包描述类似
mod24_ssl

我们可以使用[ec2-user]$ yum info mod_ssl Available Packages Name : mod_ssl Arch : x86_64 Epoch : 1 Version : 2.2.32 Release : 1.9.amzn1 Size : 107 k Repo : amzn-updates/latest Summary : SSL/TLS module for the Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description : The mod_ssl module provides strong cryptography for the Apache Web : server via the Secure Sockets Layer (SSL) and Transport Layer : Security (TLS) protocols. [ec2-user]$ yum info mod24_ssl Installed Packages Name : mod24_ssl Arch : x86_64 Epoch : 1 Version : 2.4.27 Release : 3.71.amzn1 Size : 224 k Repo : installed From repo : amzn-updates Summary : SSL/TLS module for the Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description : The mod_ssl module provides strong cryptography for the Apache Web : server via the Secure Sockets Layer (SSL) and Transport Layer : Security (TLS) protocols.

查看每个包所依赖的内容
yum deplist

[ec2-user]$ yum deplist mod_ssl Loaded plugins: priorities, update-motd, upgrade-helper 26 packages excluded due to repository priority protections package: mod_ssl.x86_64 1:2.2.32-1.9.amzn1 ... snip ... dependency: httpd = 2.2.32-1.9.amzn1 provider: httpd.x86_64 2.2.32-1.9.amzn1 ... snip ... [ec2-user]$ yum deplist mod24_ssl Loaded plugins: priorities, update-motd, upgrade-helper 26 packages excluded due to repository priority protections package: mod24_ssl.x86_64 1:2.4.27-3.71.amzn1 ... snip ... dependency: httpd24 = 2.4.27-3.71.amzn1 provider: httpd24.x86_64 2.4.27-3.71.amzn1 ... snip ... httpd冲突 - 您无法同时安装。

答案 1 :(得分:1)

如果您的AWS实例使用的是Amazon Linux 2 AMI,您将使用mod_ssl进行Apache 2.4安装。

请注意,mod_ssl版本为“2.4.6”,AWS Repository为“amzn2-core”。

Available Packages
Name        : mod_ssl
Arch        : x86_64
Epoch       : 1
Version     : 2.4.6
Release     : 67.amzn2.6.1
Size        : 110 k
Repo        : amzn2-core/2017.12/x86_64
Summary     : SSL/TLS module for the Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The mod_ssl module provides strong cryptography for the Apache Web
            : server via the Secure Sockets Layer (SSL) and Transport Layer
            : Security (TLS) protocols.