编辑文件 :vi /etc/ssl/openssl.cnf  找到oid_section = new_oids这行并在其下补充以下内容

openssl_conf = default_conf

[default_conf]
ssl_conf = ssl_sect

[ssl_sect]
system_default = system_default_sect

[system_default_sect]
MinProtocol = TLSv1
CipherString = DEFAULT@SECLEVEL=1

 

这是Linux安装的openssl版本问题   

在docker环境下:为了能够兼容生产环境中的低版本,需要在生成镜像的Dockerfile中添加

RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf

 

相关文章:

  • 2021-11-19
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-25
  • 2021-12-03
  • 2021-12-14
  • 2021-04-20
  • 2021-10-14
  • 2022-01-18
  • 2021-06-02
相关资源
相似解决方案