Bug? git submodule add SSL certificate problem: unable to get local issuer certificate
- From
- Aschemann 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