I'm trying to clone a repository over https and for some reason even with my local config which says where to take CAFile it tries to use value from the global config.
sslCAInfo = c:/../cacert-client.pem
sslCAinfo = /bin/curl-ca-bundle.crt
c:/your/path/to/cacert-client.pem should work ,supposing that the '
/../' in your question stands for
your/path/to (otherwise c:/../xx points to a non-existent path).
If it doesn't work, you can try the other syntax:
git config http.sslCAinfo /c/your/path/to/cacert-client.pem
You also can
set GIT_CURL_VERBOSE to 1 and see more of what git is using.
Getting that path right (either by
git config, or with the environment variable
GIT_SSL_CAINFO) is bettern than the alternative:
git config --global http.sslVerify false.