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

Potential Bug with Client Certificate Authentication (mTLS)

From
SGScott Guymer <scott@scottguymer.co.uk>
Date
Sep 18, 2019, 14:42 UTC
Message-ID
<CADvYWYNvBAmr=fSe=CLTr7RLcwXDasffz8B21cBpW6L9UtFLMw@mail.gmail.com>

I'm trying to pull via HTTPS from a TFS server that has Client Certificate authentication configured.

I believe I have all the certificates in the right format and simply using curl with the same certs works but when trying to clone via git it does not seem to negotiate the client certificate auth and just gets a 403.

I have scoured the config page to see if there is any info https://git-scm.com/docs/git-config

Is there any concrete documentation on how to get this working?

I have posted a question on stack overflow that has much more detail https://stackoverflow.com/questions/57473558/git-with-client-certificates-failing-and-working-with-curl

I'm not sure if this is a bug with GIT or just something i'm not doing correctly.

Thanks
Message 1 of 1 in “Potential Bug with Client Certificate Authentication (mTLS)”
  1. Scott GuymerSep 18, 2019

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.