Github报错OpenSSL SSL_connect: Connection was reset in connection to github.com:443终极解决方案
今天在使用git命令进行push和pull时,出现如下报错:
fatal: unable to access 'https://github.com/wxler/test.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
我查了很多种方案,下面必有一个方法能够解决。
方案一
在git bash命令行中依次输入以下命令:
git config --global http.sslBackend "openssl"
git config --global http.sslCAInfo "C:\Program Files\Git\mingw64\ssl\cert.pem"
注意上面第二个命令,路径要换成git安装的路径。