pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Cannot git-clone pkgsrc: SSL certificate problem: unable to get local issuer certificate



Is it just me? I've just compiled devel/git from a local .tar.gz of
pkgsrc. I then deleted the local branch and tried to clone it with the
newly installed git:

$ git clone https://github.com/NetBSD/pkgsrc.git -b pkgsrc-2019Q1
--depth=1   pkgsrc-2019Q1
Cloning into 'pkgsrc-2019Q1'...
fatal: unable to access 'https://github.com/NetBSD/pkgsrc.git/': SSL
certificate problem: unable to get local issuer certificate

Is this intended behaviour? The only workaround is to change "https" with "git":

$ git clone git://github.com/NetBSD/pkgsrc.git -b pkgsrc-2019Q1
--depth=1   pkgsrc-2019Q1
Cloning into 'pkgsrc-2019Q1'...
remote: Enumerating objects: 122608, done.
remote: Counting objects: 100% (122608/122608), done.
remote: Compressing objects: 100% (101129/101129), done.

Any ideas? Where would one get github.com ssl certificates?


-- 
Ottavio Caruso


Home | Main Index | Thread Index | Old Index