Skip to content

Commit 65d7948

Browse files
plentydonegitster
authored andcommitted
docs: indicate http.sslCertType and sslKeyType
These useful config options were added in 0a01d41 (http: add support for different sslcert and sslkey types., 2023-03-20) but lacked documentation. Signed-off-by: Andrew Carter <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5c21db3 commit 65d7948

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Documentation/config/http.txt

Lines changed: 12 additions & 0 deletions
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

0 commit comments

Comments
 (0)