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

 

 

相关文章:

  • 2022-12-23
  • 2021-11-09
  • 2022-01-02
猜你喜欢
  • 2022-01-08
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
相关资源
相似解决方案