Thread (33 messages) flat view 33 messages, 9 authors, 2016-06-15

Re: git-fetch in 1.5.4 fails versus 1.5.3.8

From: Jeff King <hidden>
Date: 2016-06-15 22:44:10

On Mon, Feb 04, 2008 at 06:25:25PM +0000, Anand Kumria wrote:
$ cat .git/config
{{ ... }}
[remote "richard"]
    url = https://server.example.com/~richard/newfoo.git
    fetch = +refs/heads/*:refs/remotes/richard/*

$ git fetch richard
error:  (curl_result = 77, http_code = 0, sha1 = 
0bc27e5162d0e74053b71fc637cbbf8fc942e969)
I was unable to reproduce your problem here. However, peeking in curl's
header files, it looks like error 77 is:

    CURLE_SSL_CACERT_BADFILE,  /* 77 - could not load CACERT file, missing
                                  or wrong format */
Downgrading to git-core in Debian (1.5.3.8) and it works perfectly.
Since you are running Debian, can you confirm whether you have the
'ca-certificates' package installed? It creates the
/etc/ssl/certs/ca-certificates.crt file, which is presumably the source
of the complaining.

That being said, there seems to be some difference between 1.5.3.8 and
1.5.4 that made us care more about SSL certs (though I note that the
SSL_VERIFYPEER curl knob has been set since pre-1.0). Have you tried
setting GIT_SSL_NO_VERIFY?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help