SSL routines:ssl_choose_client_version:unsupported protocol


編輯文件 :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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM