当前位置:   article > 正文

启动Nginx提示:the“ssl“ parameter requires ngx_http_ssl_module in_linux nginx安装了openssl还是提示error: ssl modules requir

linux nginx安装了openssl还是提示error: ssl modules require the openssl libra

如下图:

目录

1.重新安装nginx提示:ssl modules require the openssl library

2.检查系统安装openssl

​3.安装Nginx指定到包路径

4.再次重新安装


1.重新安装nginx提示:ssl modules require the openssl library

使用 ./configure --profix=/opt/gjjw_zhcx/nginx-gjjw-1.19.10 --with-http_ssl_modul安装错误如下图:ssl modules require the opensll library

 错误提示原因是因为程序没有找到openssl包。于是检查系统是否安装openssl

2.检查系统安装openssl

使用 rpm -qa openssl  发现系统是有安装包的


3.安装Nginx指定到包路径

使用which openssl查看openssl安装路径

 

然后重新安装并指定到openssl安装路径

发现还是同样的错误,尝试cd 到openssl路径。结果找不到目录

所以想着系统的openssl有问题。去找了个压缩包上传到服务器,重新安装

4.再次重新安装

 使用命令

./configure --profix=/opt/gjjw_zhcx/nginx-gjjw-1.19.10 --with-http_ssl_modu --with-openssl=/opt/openssl-1.1.0e

 /opt/openssl-1.1.0e 为解压目录

安装成功!!!!!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/662233
推荐阅读
相关标签
  

闽ICP备14008679号