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可是我这里还是没生效
添加回答
举报
0/150
提交
取消