WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Git clone problem?  (Read 1203 times)

Offline ctor

  • Newbie
  • *
  • Posts: 19
Git clone problem?
« on: February 16, 2022, 12:03:04 PM »
I have two raspberry pi zero w(s) -- one using piCore version 11.0 and one using version 13.0.3. The following code works on 11.0 but fails on 13.0.3:

Code: [Select]
git clone https://github.com/AbiWord/abiword.git
Here is the error message:
Code: [Select]
tc@box:~$ git clone https://github.com/AbiWord/abiword.git
Cloning into 'abiword'...
fatal: unable to access 'https://github.com/AbiWord/abiword.git/': error setting certificate verify locations:
  CAfile: /usr/local/etc/pki/certs/ca-bundle.crt
  CApath: none

I believe the problem is related to the contents of ca-certificates.tcz in piCore version 13.0.3. The extension's content is very different from the extension content in 11.0. The link /usr/local/etc/pki/certs/ca-bundle.crt in version 13.0.3 exists but the link points to a nonexistent file, /usr/local/etc/ssl/certs/ca-certificates.crt.

I was able to work around the issue by turning off the git https protocol in 13.0.3 piCore:
Code: [Select]
git config --global http.sslverify "false"
But that not a good long term solution. I don't know what that solution should be as either git or ca-certificates extension could be out of date. Please advise.

regards,
ctor

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: Git clone problem?
« Reply #1 on: February 17, 2022, 08:37:18 AM »
Yes, there was a change since piCore 12 to make ca-certificates standard across all Core architecture.   Are you sure you are using updated extensions on your 13.x install.    If you took extensions from your 11.x install and copied them to 13, then it for sure will not work.

Offline ctor

  • Newbie
  • *
  • Posts: 19
Re: Git clone problem?
« Reply #2 on: February 17, 2022, 03:45:51 PM »
Paul_123,

Thank you so much! An update of the extensions in 13.0.3 fixed the issue completely.

regards,
ctor