Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.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
Apache、mod_ssl和;未检测到可识别的SSL/TLS工具包”;_Apache_Ssl_Https - Fatal编程技术网

Apache、mod_ssl和;未检测到可识别的SSL/TLS工具包”;

Apache、mod_ssl和;未检测到可识别的SSL/TLS工具包”;,apache,ssl,https,Apache,Ssl,Https,我已从github下载并安装了open ssl。Apache2.X在编译时遇到问题,请给出建议 Apache构建脚本的输出: checking whether to enable mod_ssl... checking dependencies checking for SSL/TLS toolkit base... none checking for OpenSSL version... checking openssl/opensslv.h usability... no checking

我已从github下载并安装了open ssl。Apache2.X在编译时遇到问题,请给出建议

Apache构建脚本的输出:

checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... none
checking for OpenSSL version... checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
no OpenSSL headers found
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
configure: error: ...<br>No recognized SSL/TLS toolkit detected
正在检查是否启用mod_ssl。。。检查依赖项
正在检查SSL/TLS工具包库。。。没有一个
正在检查OpenSSL版本。。。正在检查openssl/opensslv.h可用性。。。不
正在检查openssl/opensslv.h是否存在。。。不
正在检查openssl/opensslv.h。。。不
正在检查openssl/ssl.h可用性。。。不
正在检查openssl/ssl.h是否存在。。。不
正在检查openssl/ssl.h。。。不
未找到OpenSSL头
正在检查SSL-C版本。。。正在检查sslc.h可用性。。。不
正在检查sslc.h是否存在。。。不
正在检查sslc.h。。。不
未找到SSL-C头
配置:错误:…
未检测到可识别的SSL/TLS工具包
我已从github下载并安装了open ssl。Apache2.X在编译时遇到问题,请给出建议

因此,看起来您需要:

./configure --enable-ssl --enable-ssl-staticlib-deps --with-ssl=<path to your OpenSSL>
/configure--enable ssl--enable ssl staticlib deps--with ssl=

我可能会
——启用sslstaticlib-deps
。加载错误的
libssl
libcrypto
共享对象(即
/usr/lib
中的对象)将使您远离热水。您可以省略它,但需要知道如何修改
LD\u LIBRARY\u路径

是。那样做了。它抱怨说,我没有合适的SSL/TLS工具包,我最新编译并安装在/usr/local/SSL中。软件包是从openssl.org下载的。bin中的Openssl工作正常,正在颁发证书等等。。还不确定apache构建脚本正在寻找什么

您已经安装了openssl libssl开发包:

apt get安装openssl libssl dev


尝试使用以下命令安装openssl包。 $sudo/usr/bin/yum安装openssl*

这将安装如下所示的其他PKG。 openssl-devel
openssl perl
openssl静态

这为我解决了这个问题。祝您好运

您的OpenSSL版本安装在哪里?centos:
yum安装OpenSSL-OpenSSL-devel
./configure --enable-ssl --enable-ssl-staticlib-deps --with-ssl=<path to your OpenSSL>