Skip to content

Commit 506fcdc

Browse files
committed
document http.sslCertType and sslKeyType
These useful config options were added in 0a01d41 but lacked documentation. Signed-off-by: Andrew Carter <[email protected]>
1 parent efff4a8 commit 506fcdc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Documentation/config/http.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@ http.sslBackend::
216216
This option is ignored if cURL lacks support for choosing the SSL
217217
backend at runtime.
218218

219+
http.sslCertType::
220+
Type of client certificate used when fetching or pushing over HTTPS.
221+
(e.g. "PEM", "DER", or "P12"). See also libcurl `CURLOPT_SSLCERTTYPE`
222+
Can be overridden by the `GIT_SSL_CERT_TYPE` environment variable.
223+
224+
http.sslKeyType::
225+
Type of client private key used when fetching or pushing over HTTPS.
226+
(e.g. "PEM", "DER", or "ENG"). Particularly useful when set to "ENG"
227+
for authenticating with PKCS#11 tokens. See also libcurl
228+
`CURLOPT_SSLCERTTYPE` . Can be overridden by the `GIT_SSL_KEY_TYPE`
229+
environment variable.
230+
219231
http.schannelCheckRevoke::
220232
Used to enforce or disable certificate revocation checks in cURL
221233
when http.sslBackend is set to "schannel". Defaults to `true` if
@@ -352,4 +364,4 @@ if embedded in the URL, is always ignored for matching purposes) so that
352364
equivalent URLs that are simply spelled differently will match properly.
353365
Environment variable settings always override any matches. The URLs that are
354366
matched against are those given directly to Git commands. This means any URLs
355-
visited as a result of a redirection do not participate in matching.
367+
visited as a result of a redirection do not participate in matching.

0 commit comments

Comments
 (0)