zed*_*y72 6 mod-ssl amazon-web-services
逐步为我的网站启动并运行 TLS。我阅读了 AWS 文档
sudo yum install -y mod24_ssl
但在某些依赖项上遇到了冲突。
我最终读了一篇博客,其中有人提到sudo yum install mod_ssl,我最终运行它没有任何问题。有人可以告诉我这是否安全吗?mod_ssl 和 mod24_ssl 有什么区别?
谢谢
小智 8
如果您的 AWS 实例使用 Amazon Linux 2 AMI,您将使用 mod_ssl 进行 Apache 2.4 安装。
请注意,mod_ssl 版本为“2.4.6”,AWS 存储库为“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.
Run Code Online (Sandbox Code Playgroud)
正如 @stdunbar 所说,mod_ssl适用于 Apache 2.2 和mod24_sslApache 2.4。
我们可以看到,除了版本之外,包的描述是相似的:
[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.
Run Code Online (Sandbox Code Playgroud)
我们可以使用以下命令查看每个包所依赖的内容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 ...
Run Code Online (Sandbox Code Playgroud)
httpd和httpd24冲突——你不能同时安装两者。
| 归档时间: |
|
| 查看次数: |
6183 次 |
| 最近记录: |