From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Bauer Subject: bug#35773: hexchat: unable to get local issuer certificate Date: Sat, 18 May 2019 07:24:35 -0500 Message-ID: <20190518122435.GA1538@rubic.com> References: <20190517132601.GA1228@rubic.com> <871s0xarpk.fsf@roquette.mug.biscuolo.net> <20190517182725.GC1228@rubic.com> <87v9y89qei.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRyOk-0001lc-4j for bug-guix@gnu.org; Sat, 18 May 2019 08:25:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRyOc-0001it-Rc for bug-guix@gnu.org; Sat, 18 May 2019 08:25:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRyOb-0001iP-Un for bug-guix@gnu.org; Sat, 18 May 2019 08:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRyOb-0006oX-OS for bug-guix@gnu.org; Sat, 18 May 2019 08:25:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87v9y89qei.fsf@roquette.mug.biscuolo.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Giovanni Biscuolo Cc: 35773@debbugs.gnu.org Giovanni, Thanks, that does the trick! For the record, this is what I've put in my .bashrc as a check if I change environments: # Guix Profile GUIX_PROFILE="$HOME/.guix-profile" if [ -d $GUIX_PROFILE ] || [ -h $GUIX_PROFILE ] ; then export GUIX_PROFILE export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale/ export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs" export SSL_CERT_FILE="$GUIX_PROFILE/etc/ssl/certs/ca-certificates.crt" if [ ! -f $SSL_CERT_FILE ] ; then echo "Missing nss-certs: $SSL_CERT_FILE" fi source $GUIX_PROFILE/etc/profile fi -Jeff On Sat, May 18, 2019 at 09:24:05AM +0200, Giovanni Biscuolo wrote: > Hello Jeff, > > Jeff Bauer writes: > > > Sorry, but the same problem with nss-certs installed. > > Sorry I gave you a partial solution, the full solition is to add the > documented variables to your env, please read: > > https://www.gnu.org/software/guix/manual/en/html_node/X_002e509-Certificates.html > > Adding > > --8<---------------cut here---------------start------------->8--- > > export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" > export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" > > --8<---------------cut here---------------end--------------->8--- > > should work > > HTH! Gio'. > > [...] > > -- > Giovanni Biscuolo > > Xelera IT Infrastructures