Skip to content

Commit

Permalink
document http.sslCertType and sslKeyType
Browse files Browse the repository at this point in the history
These useful config options were added in 0a01d41 but lacked documentation.

Signed-off-by: Andrew Carter <[email protected]>
  • Loading branch information
plentydone committed Jan 19, 2025
1 parent efff4a8 commit 506fcdc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Documentation/config/http.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,18 @@ http.sslBackend::
This option is ignored if cURL lacks support for choosing the SSL
backend at runtime.

http.sslCertType::
Type of client certificate used when fetching or pushing over HTTPS.
(e.g. "PEM", "DER", or "P12"). See also libcurl `CURLOPT_SSLCERTTYPE`
Can be overridden by the `GIT_SSL_CERT_TYPE` environment variable.

http.sslKeyType::
Type of client private key used when fetching or pushing over HTTPS.
(e.g. "PEM", "DER", or "ENG"). Particularly useful when set to "ENG"
for authenticating with PKCS#11 tokens. See also libcurl
`CURLOPT_SSLCERTTYPE` . Can be overridden by the `GIT_SSL_KEY_TYPE`
environment variable.

http.schannelCheckRevoke::
Used to enforce or disable certificate revocation checks in cURL
when http.sslBackend is set to "schannel". Defaults to `true` if
Expand Down Expand Up @@ -352,4 +364,4 @@ if embedded in the URL, is always ignored for matching purposes) so that
equivalent URLs that are simply spelled differently will match properly.
Environment variable settings always override any matches. The URLs that are
matched against are those given directly to Git commands. This means any URLs
visited as a result of a redirection do not participate in matching.
visited as a result of a redirection do not participate in matching.

0 comments on commit 506fcdc

Please sign in to comment.