推送到Github时发生SSL错误
我已经在本地添加并提交了repo上的文件,但当我推到Github时,会出现以下错误:推送到Github时发生SSL错误,git,github,Git,Github,我已经在本地添加并提交了repo上的文件,但当我推到Github时,会出现以下错误: fatal: unable to access 'https://github.com/anandg112/NodeJS- programs.git/': error:1409441B:SSL routines:SSL3_READ_BYTES:tlsv1 alert decrypt error 有人能帮我排除故障并找到这个错误的根本原因吗 我正在运行git版本2.16.3和MacOS High Sierra
fatal: unable to access 'https://github.com/anandg112/NodeJS-
programs.git/': error:1409441B:SSL routines:SSL3_READ_BYTES:tlsv1
alert decrypt error
有人能帮我排除故障并找到这个错误的根本原因吗
我正在运行git版本2.16.3和MacOS High Sierra 当我检查根目录中的.gitconfig文件时。我看到了
[user]
email = anand@gmail.com
name = anandg112
[core]
editor = vim
[http]
[htttp]
sslVersion = tlsv1.1
sslVersion = tlsv1.2
sslVersion = tlsv1.3
GitHub已删除对TLS v1的支持 根据您的操作系统和Git版本,确保您使用的openssl足够新
确保更新了
curl
和openssl
。我正在运行git版本2.16.3和MacOS High Sierra。@anandg112 curl--version返回什么?curl 7.52.1(x86_64-apple-darwin13.4.0)libcurl/7.52.1 OpenSSL/1.0.2l zlib/1.2.8协议:dict文件ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smb smb smtp smtps telnet tftp功能:IPv6大文件NTLM NTLM_WB SSL libz TLS-SRP UnixSockets https-proxy@anandg112和openssl版本
(这里不需要-
或-
)@anandg112基本上,您想升级curl和openssl()