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

Bug? git submodule add SSL certificate problem: unable to get local issuer certificate

From
AGAschemann Gerd <gerd@aschemann.net>
Date
Mar 5, 2015, 15:20 UTC
Message-ID
<27F61CEE-F1D3-4B7F-B394-8D06A4AD8976@aschemann.net>
In-Reply-To
<F24DBF8D-40EE-4C8D-AE9C-463E59C4AAD7@aschemann.net>
Hi,
seems to be a bug: If adding a submodule from an https URL with a certificate issued by StartSSL (or even a private/self-signed one?) leads to the following error:
  $ git -c http.sslverify=false submodule add https://example.com/git/xxx.git
  Cloning into 'xxx'...
  fatal: unable to access 'https://example.com/git/xxx.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  Clone of 'https://example.com/git/xxx.git' into submodule path 'xxx' failed
Performing a simple clone works well:
  $ git -c http.sslverify=false clone https://example.com/git/xxx.git
  Cloning into 'xxx'...
  Password for 'https://example.com':
Cheers,
  Gerd

-- Gerd Aschemann --- Veröffentlichen heißt Verändern (Carmen Thomas) +49/173/3264070 -- gerd@aschemann.net -- http://www.aschemann.net

Next: Jeff King
Message 1 of 4 in “Bug? git submodule add SSL certificate problem: unable to get local issuer certificate”
  1. Aschemann GerdMar 5, 2015
  2. Jeff KingMar 9, 2015
  3. Jens LehmannMar 10, 2015
  4. Jeff KingMar 21, 2015

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.