git clone 报错fatal: unable to access ‘https://github.com/xxxx‘: OpenSSL SSL_read

fatal: unable to access ‘https://github.com/xiaohei0131/mc.git/’: OpenSSL SSL_read: Connection was reset, errno 10054报错
在这里插入图片描述

产生原因:一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错
解除ssl验证后,再次git即可
解决办法输入此条git命令

git config --global http.sslVerify “false”

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_44333320/article/details/130680941