Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
推送到Github时发生SSL错误_Git_Github - Fatal编程技术网

推送到Github时发生SSL错误

推送到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

我已经在本地添加并提交了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

当我检查根目录中的.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()