git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] docs: indicate http.sslCertType and sslKeyType

From
Andrew Carter via GitGitGadget <gitgitgadget@gmail.com>
Date
Jan 23, 2025, 00:16 UTC
Message-ID
<pull.1854.git.1737591366672.gitgitgadget@gmail.com>
From: Andrew Carter <andrew@emailcarter.com>

These useful config options were added in 0a01d41ee4c but lacked documentation.

Signed-off-by: Andrew Carter <andrew@emailcarter.com>
---
    document http.sslCertType and sslKeyType
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1854%2Fplentydone%2Fcurl-cert-options-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1854/plentydone/curl-cert-options-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1854
 Documentation/config/http.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/Documentation/config/http.txt b/Documentation/config/http.txt
index a14371b5c96..cd39e182527 100644
--- a/Documentation/config/http.txt
+++ b/Documentation/config/http.txt
@@ -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

base-commit: 4e746b1a31f9f0036032b6f94279cf16fb363203
-- 
gitgitgadget
Next: brian m. carlson
Message 1 of 9 in “docs: indicate http.sslCertType and sslKeyType”
  1. docs: indicate http.sslCertType and sslKeyTypeAndrew Carter via GitGitGadget, Jan 23, 2025
  2. brian m. carlsonJan 23, 2025
  3. Junio C HamanoJan 23, 2025
  4. Andrew CarterJan 25, 2025
  5. docs: indicate http.sslCertType and sslKeyTypeAndrew Carter, Jan 30, 2025
  6. Junio C HamanoJan 30, 2025
  7. Andrew CarterFeb 5, 2025
  8. Junio C HamanoFeb 5, 2025
  9. docs: indicate http.sslCertType and sslKeyTypeAndrew Carter, Feb 5, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.