nginx漏洞修复:SSL/TLS 服务器瞬时 Diffie-Hellman 公共密钥过弱【原理扫描】【转】

SSL/TLS 服务器瞬时 Diffie-Hellman 公共密钥过弱【原理扫描】。

需编辑 nginx.conf 解决。

1、生成 dhparams.pem。

cd /usr/local/nginx/conf
    
openssl dhparam -out dhparams.pem 2048
    
chmod -R 755 dhparams.pem

 

2、编辑 nging.conf 文件,添加 ssl_dhparam {path to dhparams.pem} 。

ssl_dhparam /usr/local/nginx/conf/dhparams.pem;

 

3、openssl查看版本

# openssl version
OpenSSL 1.1.1d  10 Sep 2019

查看完整信息
# openssl version -a

 

转自

SSL/TLS 服务器瞬时 Diffie-Hellman 公共密钥过弱【原理扫描】-「建筑资质代办」 http://www.dzjqx.cn/news/show-15228.html

 

 

posted @ 2020-05-18 12:01  paul_hch  阅读(5880)  评论(1编辑  收藏  举报