I am trying to clone a repository from bitbucket.org to my Raspberry Pi using
git clone https://[email protected]/MyName/mygit.git
Git outputs the following, if i add GIT_CURL_VERBOSE=1
in front of it:
Cloning into 'mygit'...
* Couldn't find host bitbucket.org in the .netrc file; using defaults
* About to connect() to bitbucket.org port 443 (#0)
* Trying 2401:1d80:1010::150...
* 0x1614658 is at send pipe head!
* STATE: CONNECT => WAITCONNECT handle 0x161cfc0; (connection #0)
* Connected to bitbucket.org (2401:1d80:1010::150) port 443 (#0)
* Connected to bitbucket.org (2401:1d80:1010::150) port 443 (#0)
* error reading ca cert file /etc/ssl/certs/ca-certificates.crt (Base64 unexpected header error.)
* Closing connection #0
* Expire cleared
* Couldn't find host bitbucket.org in the .netrc file; using defaults
* About to connect() to bitbucket.org port 443 (#0)
* Trying 2401:1d80:1010::150...
* 0x1614658 is at send pipe head!
* STATE: CONNECT => WAITCONNECT handle 0x161cfc0; (connection #0)
* Connected to bitbucket.org (2401:1d80:1010::150) port 443 (#0)
* Connected to bitbucket.org (2401:1d80:1010::150) port 443 (#0)
* error reading ca cert file /etc/ssl/certs/ca-certificates.crt (Base64 unexpected header error.)
* Closing connection #0
* Expire cleared
error: Problem with the SSL CA cert (path? access rights?) while accessing https://[email protected]/MyName/mygit.git/info/refs
fatal: HTTP request failed