From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: HELP needed with CA certificates! [PATCH] gnu: Add tup, Add pbpst. Date: Thu, 1 Sep 2016 16:22:43 +0200 Message-ID: References: <87y43ksj47.fsf@we.make.ritual.n0.is> <87h9a4y5ck.fsf@gnu.org> <87y43g60j3.fsf@we.make.ritual.n0.is> <87oa48lm43.fsf@gnu.org> <87oa47sp7u.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfStP-0004NP-Ig for guix-devel@gnu.org; Thu, 01 Sep 2016 10:23:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfStK-0007kb-H5 for guix-devel@gnu.org; Thu, 01 Sep 2016 10:22:58 -0400 In-Reply-To: <87oa47sp7u.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 Cc: guix-devel@gnu.org ng0 writes: > Ludovic Court=C3=A8s writes: > >> Hi, >> >> ng0 skribis: >> >>>> The =E2=80=98nss-certs=E2=80=99 package provides X.509 certificates: >>>> >>>> https://www.gnu.org/software/guix/manual/html_node/X_002e509-Certi= ficates.html >>> >>> I commented nss-certs, enabled or disabled it made no difference to t= he >>> resulting binary. >> >> You need to have =E2=80=98nss-certs=E2=80=99 installed, *and* set the = environment >> variables mentioned above (depending on whether you use OpenSSL, GnuTL= S, >> Git, etc.; for GnuTLS, I think there=E2=80=99s no such environment var= iable.) >> >> HTH! >> Ludo=E2=80=99. > > Thanks. > > Can you be more specific on why it could fail when all of this is set i= n > the user environment? I did all of this, and it still fails. environmen= t > values exported in my user profile, nss-certs installed in user profile > and system wide, set nss-certs as an input of pbpst, still: What environment variables did you set? The patch for pbpst is very hard to read, so it=E2=80=99s not obvious what you tried. If this tool just shells out to =E2=80=9Ccurl=E2=80=9D then it might resp= ect =E2=80=9CCURL_CA_BUNDLE=E2=80=9D as per the Curl documentation. ~~ Ricardo