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

Riccardo Mottola <[email protected]> Sat, 13 Jun 2026 15:50:38 +0200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
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 pull
fatal: unable to access 'https://github.com/rmottola/Arctic-Fox.git/': 
SSL certificate OpenSSL verify result: unable to get local issuer 
certificate (20)

What did go havoc? I checked a bit what I have installed:


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


# 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