diff options
author | Jorge Lopez Silva <jalopezsilva@gmail.com> | 2020-03-04 18:40:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-05 12:25:09 -0800 |
commit | 88238e02d545dedd832cec9d9ed4ca877c44da19 (patch) | |
tree | 5ab61c06ac8069cfdde50e0fd09d217d4db6eda9 /Documentation | |
parent | Git 2.25 (diff) | |
download | tgif-88238e02d545dedd832cec9d9ed4ca877c44da19.tar.xz |
http: add client cert support for HTTPS proxies
Git supports performing connections to HTTPS proxies, but we don't
support doing mutual authentication with them (through TLS).
Add the necessary options to be able to send a client certificate to
the HTTPS proxy.
A client certificate can provide an alternative way of authentication
instead of using 'ProxyAuthorization' or other more common methods of
authentication. Libcurl supports this functionality already, so changes
are somewhat minimal. The feature is guarded by the first available
libcurl version that supports these options.
4 configuration options are added and documented, cert, key, cert
password protected and CA info. The CA info should be used to specify a
different CA path to validate the HTTPS proxy cert.
Signed-off-by: Jorge Lopez Silva <jalopezsilva@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config/http.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/config/http.txt b/Documentation/config/http.txt index 5a32f5b0a5..71babe57c4 100644 --- a/Documentation/config/http.txt +++ b/Documentation/config/http.txt @@ -29,6 +29,23 @@ http.proxyAuthMethod:: * `ntlm` - NTLM authentication (compare the --ntlm option of `curl(1)`) -- +http.proxySSLCert:: + The pathname of a file that stores a client certificate to use to authenticate + with an HTTPS proxy. + +http.proxySSLKey:: + The pathname of a file that stores a private key to use to authenticate with + an HTTPS proxy. + +http.proxySSLCertPasswordProtected:: + Enable Git's password prompt for the proxy SSL certificate. Otherwise OpenSSL + will prompt the user, possibly many times, if the certificate or private key + is encrypted. + +http.proxySSLCAInfo:: + Pathname to the file containing the certificate bundle that should be used to + verify the proxy with when using an HTTPS proxy. + http.emptyAuth:: Attempt authentication without seeking a username or password. This can be used to attempt GSS-Negotiate authentication without specifying |