如何将 ssl_module 包含到 Apache 2.4 中?

kit*_*irl 0 apache openssl

在我的 centos 7 中httpd.conf,我包含ssl_moduleas LoadModule ssl_module modules/mod_ssl.so
但我收到如下错误:

httpd: Syntax error on line 71 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory  
Run Code Online (Sandbox Code Playgroud)

然后我运行yum install openssl,我得到了Package 1:openssl-1.0.2k-12.el7.x86_64 already installed and latest version Nothing to do.
然后我运行whereis openssl,我得到了 openssl: /usr/bin/openssl /usr/lib64/openssl /usr/share/man/man1/openssl.1ssl.gz
How to include ssl_module to Apache 2.4?

And*_*aCi 6

只需执行

yum install mod_ssl
Run Code Online (Sandbox Code Playgroud)

安装模块(如果不存在)