git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Support SSL_CERT_DIR

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Sep 21, 2022, 21:26 UTC
Message-ID
<YyuBoU1ZPaHiSeiU@tapette.crustytoothpaste.net>
In-Reply-To
<CAC9GOO8Y+5pXWPSPhxFdugT66MZj1rKkZ1Td=frPTF8vo73Nhw@mail.gmail.com>
On 2022-09-20 at 22:00:11, Marcin Wisnicki wrote:
> Is there any good reason why git ignores well established SSL_CERT_DIR
> and uses only git-specific GIT_SSL_CAPATH?
> Why not fallback to the standard variable if git one isn't set?
> IMHO current behavior is bad UX.

It looks like that variable is specific to OpenSSL. Git may use a variety of TLS libraries, and typically on Linux distributions, which cannot legally distribute both Git and OpenSSL linked together, the TLS library isn't OpenSSL at all.

Personally, I've never heard of this environment variable before, so it probably wasn't chosen because nobody else had heard of it, either. It's possible if someone sent a patch to check it such a change might be accepted (or not).

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Marcin Wisnicki
Message 2 of 2 in “Support SSL_CERT_DIR”
  1. Marcin WisnickiSep 20, 2022
  2. brian m. carlsonSep 21, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.