命令“SSLOpenSSLConfCmd”无效,可能拼写错误或由服务器配置中未包含的模块定义

rya*_*nes 10 openssl apache-2.4 logjam

和其他管理员一样,我正在解决Logjam问题

我已经在我的 centos 6.6 机器上升级到 Apache 2.4.12 和 openssl 1.0.2a。

当我启动 apache 时,我看到返回了以下错误消息:

Invalid command 'SSLOpenSSLConfCmd', perhaps misspelled or defined by a module not included in the server configuration
Run Code Online (Sandbox Code Playgroud)

这是我的 apache 构建信息:

Server version: Apache/2.4.12 (Unix)
Server built:   Jun  8 2015 22:04:38
Server's Module Magic Number: 20120211:41
Server loaded:  APR 1.4.5, APR-UTIL 1.3.12
Compiled using: APR 1.4.5, APR-UTIL 1.3.12
Architecture:   64-bit
Server MPM:     worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/opt/installs/apache/2_4_12"
 -D SUEXEC_BIN="/opt/installs/apache/2_4_12/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"    
Run Code Online (Sandbox Code Playgroud)

mod_ssl 包含在我的 httpd.conf 中:

LoadModule ssl_module modules/mod_ssl.so
Run Code Online (Sandbox Code Playgroud)

我错过了什么?

小智 0

根据 Apache 文档 - 可用命令集SSLOpenSSLConfCmd取决于所使用的 OpenSSL 版本(需要)mod_ssl(至少需要版本 1.0.2)。有关支持的命令名称的列表,请参阅OpenSSL 的SSL_CONF_cmd(3) 手册页中的支持的配置文件命令部分。

验证您正在使用的命令SSLOpenSSLConfCmd