Re: unable to use git with github: SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)

John McCue <[email protected]> Sat, 13 Jun 2026 11:38:47 -0400
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Sat, Jun 13, 2026 at 03:50:38PM +0200, Riccardo Mottola wrote:
>Hi!
>
>I am running 9.4 on amd64 laptop.
>I did a "pkgin update && pkgin upgrade" with no apparent issues reported.
>I discovered that some applications went missing, so I explicitly 
>reinstalled them (e.g. firefox, subversion-base and even git).
>
>Git stopped being able to pull files from github.

git works for me mo NetBSD 11.0 RC4 amd64, what is in file
/usr/pkg/etc/pkgin/repositories.conf ?

This is what I have.
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/11.0_2026Q1/All

Maybe you need to update that file for 9.4 2026Q1 ?

<snip>
>
>mozilla-rootcerts-1.1.20260211 Root CA certificates from the Mozilla Project
>mozilla-rootcerts-openssl-2.21 Wedge for installing and managing 
>mozilla-rootcerts
>p5-Mozilla-CA-20250602nb1 Mozilla's CA cert bundle for Perl
>openssl-3.6.1??????? Secure Socket Layer and cryptographic library
>gnutls-3.8.13??????? Transport Layer Security library
>libcurl-gnutls-8.20.0 Client that groks URLs

These are the items I have installed from pkgsrc from your list:
     mozilla-rootcerts-1.1.20260211
     p5-Mozilla-CA-20250602nb1
     openssl-3.6.1
     gnutls-3.8.13

Items you listed NOT on my system:
     libcurl-gnutls
     mozilla-rootcerts-openssl

># mozilla-rootcerts install
>ERROR: /etc/openssl/certs already contains certificates, aborting.
>
>
>certificates should be installed.
>
>What else could be wrong? Before update and a couple of weeks go, last 
>time I used the laptop, everything was working!
>
>Thanks,
>
>Riccardo

HTH
John