小编Mak*_*ash的帖子

无法克隆存储库。服务器证书验证失败

当我尝试通过命令克隆存储库时

git clone https://git.lighttpd.net/mirrors/libev.git
Run Code Online (Sandbox Code Playgroud)

我收到一个错误 fatal: unable to access 'https://git.lighttpd.net/mirrors/libev.git/': server certificate verification failed. CAfile: none CRLfile: none

如果设置 GIT_CURL_VERBOSE=1

Cloning into 'libev'...
* Couldn't find host git.lighttpd.net in the .netrc file; using defaults
*   Trying 5.9.70.195:443...
* TCP_NODELAY set
* Connected to git.lighttpd.net (5.9.70.195) port 443 (#0)
* found 387 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification failed. CAfile: none CRLfile: none
* Closing …
Run Code Online (Sandbox Code Playgroud)

git ssl lighttpd ssl-certificate

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

git ×1

lighttpd ×1

ssl ×1

ssl-certificate ×1