Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services mod_ssl与mod24_ssl AWS_Amazon Web Services_Mod Ssl - Fatal编程技术网

Amazon web services mod_ssl与mod24_ssl AWS

Amazon web services mod_ssl与mod24_ssl AWS,amazon-web-services,mod-ssl,Amazon Web Services,Mod Ssl,通过议案获得TLS并为我的网站运行。我在AWS文档下阅读 sudo yum安装-y mod24_ssl 但是在一些依赖性上发生了冲突 我最后读了一篇博客,其中有人提到了sudo-yum-install-mod_-ssl,我最终运行了它,没有任何问题。有人能告诉我这是否安全吗?mod_ssl和mod24_ssl之间有什么区别 感谢@stdunbar所说的mod_ssl适用于Apache2.2,而mod24_ssl适用于Apache2.4 我们可以看到,除了版本之外,软件包的描述是相似的: [ec2

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

sudo yum安装-y mod24_ssl

但是在一些依赖性上发生了冲突

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


感谢@stdunbar所说的
mod_ssl
适用于Apache2.2,而
mod24_ssl
适用于Apache2.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.
我们可以使用
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
httpd24
冲突——您不能同时安装这两个组件。

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

注:mod_ssl版本为“2.4.6”,AWS存储库为“amzn2核心”


mod_ssl将用于Apache2.2.x,mod24_ssl将用于Apache2.4.x。谢谢。我看到的一切都是mod24_ssl,但AmazonLinux2上没有mod24_ssl,果然,mod_ssl在@amzn2 core上为我安装了2.4.46-1.amzn2。
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.