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

Greg Troxel <[email protected]> Sun, 14 Jun 2026 12:31:35 -0400
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
Riccardo Mottola <[email protected]> writes:

> Having several laptops, I try to keep some in previous and some in
> current release, if possible, for the sake of testing.

your call, your resulting woes :-)

> Just for a test, I attempted something "quite dirty":
> cp *.* /usr/pkg/etc/openssl/certs/
>
> and now git works. So I am sure it is pkg-openssl looking for
> certificates in the wrong directory and/or something should have
> copied certificates there.
> It would be better not to have copies perhaps, and that both openssl's
> use /etc/openssl ? I don't know how it is thought out but it is broken
> now.

I'm unclear on this.  You could read the code in pkgsrc, for
mozilla-rootcerts-openssl, for security/openssl, for mk/ssl.mk, and do
on.

I suspect that almost everyone who works on pkgsrc has upgraded to 10,
11, or current and thus they don't encounter this.