当前位置:论坛首页 > Linux面板 > 求助

【已解答】nginx1.18国密版安装问题

发表在 Linux面板3 天前 [复制链接] 2 45

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

面板V11.5.0nginx1.18国密版
系统版本:

Ubuntu 20.04.6 LTS (Focal Fossa) x86_64(Py3.7.9)
问题描述:

nginx1.18国密版,安装后查看版本显示还是使用OpenSSL 1.1.1q,并未使用gmssl
相关截图(日志、错误):

ebeff0b6-7376-4fbe-8d7e-b2f3f1cf4f6f.png
使用道具 举报 只看该作者 回复
以前在系统为NeoKylin Advanced Server V7,面板版本为v11.3.0的版本上安装nginx1.18国密版,查看版本后的信息为
built with GmSSL 2.5.4 - OpenSSL 1.1.0d  19 Jun 2019
就可以支持国密证书
不知道为什么系统换了Ubuntu之后,同样是nginx1.18极速安装,装好后信息就不一样了
使用道具 举报 回复 支持 反对
发表于 前天 12:00 | 显示全部楼层
宝塔用户_gbfabb 发表于 2026-2-6 18:25
以前在系统为NeoKylin Advanced Server V7,面板版本为v11.3.0的版本上安装nginx1.18国密版,查看版本后的 ...

您好,自openssl1.1.1开始,就已经支持国密算法了。我用的是redhat系列的,查看正常的
  1. nginx  -V
  2. nginx version: nginx/1.18.0
  3. built by gcc 8.5.0 20210514 (Red Hat 8.5.0-28) (GCC)
  4. built with GmSSL 2.5.4 - OpenSSL 1.1.0d  19 Jun 2019
  5. TLS SNI support enabled
  6. configure arguments: --user=www --group=www --prefix=/www/server/nginx --add-module=/www/server/nginx/src/ngx_devel_kit --add-module=/www/server/nginx/src/lua_nginx_module --add-module=/www/server/nginx/src/ngx_cache_purge --add-module=/www/server/nginx/src/nginx-sticky-module-ng-1.3.0 --with-openssl=/www/server/nginx/src/openssl --with-pcre=pcre-8.43 --with-http_v2_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_stub_status_module --with-http_ssl_module --with-http_image_filter_module --with-http_gzip_static_module --with-http_gunzip_module --with-ipv6 --with-http_sub_module --with-http_flv_module --with-http_addition_module --with-http_realip_module --with-http_mp4_module --with-http_auth_request_module --add-module=/www/server/nginx/src/ngx_http_substitutions_filter_module-master --with-ld-opt=-Wl,-E --with-cc-opt=-Wno-error --with-ld-opt=-ljemalloc --with-http_dav_module --add-module=/www/server/nginx/src/nginx-dav-ext-module
复制代码


这是nginx安装脚本里的国密SSL代码
国密ssl代码.png
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表