为了账号安全,请及时绑定邮箱和手机立即绑定

centos6.3 下出现fatal unable to access ssl connect error

centos6.3 下出现fatal unable to access ssl connect error

慕桂英4014372 2019-05-21 09:18:38
centos6.3下ssl证书问题导致gitclone/curlgithub的资源都会失败$curl-vhttps://github.com*Abouttoconnect()togithub.comport443(#0)*Trying52.74.223.119...connected*Connectedtogithub.com(52.74.223.119)port443(#0)*InitializingNSSwithcertpath:sql:/etc/pki/nssdb*CAfile:/etc/pki/tls/certs/ca-bundle.crtCApath:none*NSSerror-12190*ErrorinTLShandshake,tryingSSLv3...>GET/HTTP/1.1>User-Agent:curl/7.19.7(x86_64-redhat-linux-gnu)libcurl/7.19.7NSS/3.13.1.0zlib/1.2.3libidn/1.18libssh2/1.2.2>Host:github.com>Accept:*/*>*Connectiondied,retryingafreshconnect*Closingconnection#0*IssueanotherrequesttothisURL:'https://github.com'*Abouttoconnect()togithub.comport443(#0)*Trying52.74.223.119...connected*Connectedtogithub.com(52.74.223.119)port443(#0)*TLSdisabledduetoprevioushandshakefailure*CAfile:/etc/pki/tls/certs/ca-bundle.crtCApath:none*NSSerror-12286*Closingconnection#0*SSLconnecterrorcurl:(35)SSLconnecterror$gitclonehttps://github.com/motemen/gore.gitCloninginto'gore'...fatal:unabletoaccess'https://github.com/motemen/gore.git/':SSLconnecterror所以goget等依赖git的工具也会失败。系统环境:CentOSrelease6.3(Final)很大可能是github不在支持老的加密方式,升级到CentOS6.8以上即可https://www.v2ex.com/t/434848如果不想升级,有什么办法吗?网上给出的基本上是升级nss相关包yumupdate-ynsscurllibcurl可是我这里还是没生效
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 890 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信