git clone 报错SSL connect error
在一台centos上搭建frp的时候遇到了这个问题,做下记录
问题提示:
fatal: unable to access ‘https://github.com/some.git/‘: SSL connect error
原因:缺少相应的库
yum update -y nss curl libcurl
再次克隆,恢复正常,如下:
[root@localhost opt]# git clone http://github.com/some.git
Cloning into ‘some’…
remote: Counting objects: 32070, done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 32070 (delta 105), reused 153 (delta 80), pack-reused 31847
Receiving objects: 100% (32070/32070), 41.54 MiB | 128.00 KiB/s, done.
Resolving deltas: 100% (22178/22178), done.
Checking connectivity… done.