threads / discuss / 58478

Support SSL_CERT_DIR

Subject: Support SSL_CERT_DIR

## tl;dr

2 messages between Sep 20, 2022 and Sep 21, 2022.

replies: 1people: 2as markdown or json

Marcin Wisnicki· Sep 20, 2022, 22:00 UTC · lore

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.

Please CC, I'm not subscribed.
brian m. carlson· Sep 21, 2022, 21:26 UTC · re: Marcin Wisnicki · lore

Re: Support SSL_CERT_DIR

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

← back to recent threads