threads / discuss / 40991

Where does http.sslcainfo get set in Windows (2.6.3)?

Subject: Where does http.sslcainfo get set in Windows (2.6.3)?

## tl;dr

3 messages between Dec 14, 2015 and Dec 15, 2015.

replies: 2people: 3as markdown or json

Titus Barik· Dec 14, 2015, 15:45 UTC · lore
Hi all,

I'm in Windows using git version: git version 2.6.3.windows.1. Git is installed to /c/Users/tbarik/AppData/Local/Programs/Git/cmd/git.

However, when I look for the config name http.sslcainfo, it returns:

$ git config --get-all http.sslcainfo C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt

Although I can override the name, I'm trying to figure out where this is being set, since the correct location should be (in this case) C:/Users/tbarik/AppData/Local/Programs/Git/mingw64/ssl/certs/ca-bundle.crt.

I don't see C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt in either --global, --system, or --local, hence my confusion as to where this path is coming from.

Thanks,
Titus
-- 
Titus Barik, PE <titus@barik.net>
Lars Schneider· Dec 14, 2015, 16:27 UTC · re: Titus Barik · lore

Re: Where does http.sslcainfo get set in Windows (2.6.3)?

Hi Titus,

try to look here: C:\Users\All Users\Git\config

(that's where I found it... maybe different on your end).

Cheers, Lars

Show 30 quoted lines
> On 14 Dec 2015, at 16:45, Titus Barik <titus@barik.net> wrote:
> 
> Hi all,
> 
> I'm in Windows using git version: git version 2.6.3.windows.1. Git is
> installed to /c/Users/tbarik/AppData/Local/Programs/Git/cmd/git.
> 
> However, when I look for the config name http.sslcainfo, it returns:
> 
> $ git config --get-all http.sslcainfo
> C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
> 
> Although I can override the name, I'm trying to figure out where this is
> being set, since the correct location should be (in this case)
> C:/Users/tbarik/AppData/Local/Programs/Git/mingw64/ssl/certs/ca-bundle.crt.
> 
> I don't see C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt in
> either --global, --system, or --local, hence my confusion as to where
> this path is coming from.
> 
> Thanks,
> 
> Titus
> 
> -- 
> Titus Barik, PE <titus@barik.net>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Johannes Schindelin· Dec 15, 2015, 12:37 UTC · re: Lars Schneider · lore

Re: Where does http.sslcainfo get set in Windows (2.6.3)?

Hi,
On Mon, 14 Dec 2015, Lars Schneider wrote:
> try to look here:
> C:\Users\All Users\Git\config

The location should be C:\ProgramData\Git\config for the Git configuration shared between all users and all Git implementations on Windows.

Maybe you are running Windows XP, where C:\ProgramData does not exist, and where %ALLUSERSPROFILE%\Application Data\Git\config plays that role.

Ciao, Johannes

← back to recent threads