From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources Date: Tue, 10 May 2016 15:38:57 +0200 Message-ID: <87a8jyghhq.fsf@gnu.org> References: 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]:41159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b07tQ-0005Ca-16 for bug-guix@gnu.org; Tue, 10 May 2016 09:40:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b07tK-0008NK-5e for bug-guix@gnu.org; Tue, 10 May 2016 09:40:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b07tK-0008NG-1w for bug-guix@gnu.org; Tue, 10 May 2016 09:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b07tJ-0004pY-ST for bug-guix@gnu.org; Tue, 10 May 2016 09:40:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Dennis Mungai's message of "Tue, 10 May 2016 15:30:22 +0300") 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: Dennis Mungai Cc: 23504@debbugs.gnu.org Dennis Mungai skribis: > I'm using git 2.7.4 from a guix profile, and here is my current environme= nt: > > guix package -p ~/opt/guix-build-system --search-paths > warning: failed to install locale: Invalid argument > export PATH=3D"/home/lin/opt/guix-build-system/bin:/home/lin/opt/guix-bui= ld-system/sbin" > export XDG_DATA_DIRS=3D"/home/lin/opt/guix-build-system/share" > export GUIX_GTK3_PATH=3D"/home/lin/opt/guix-build-system/lib/gtk-3.0" > export INFOPATH=3D"/home/lin/opt/guix-build-system/share/info" > export PKG_CONFIG_PATH=3D"/home/lin/opt/guix-build-system/lib/pkgconfig" > export GUILE_LOAD_COMPILED_PATH=3D"/home/lin/opt/guix-build-system/lib/gu= ile/2.0/ccache" > export C_INCLUDE_PATH=3D"/home/lin/opt/guix-build-system/include" > export CPLUS_INCLUDE_PATH=3D"/home/lin/opt/guix-build-system/include" > export LIBRARY_PATH=3D"/home/lin/opt/guix-build-system/lib" > export ACLOCAL_PATH=3D"/home/lin/opt/guix-build-system/share/aclocal" > > which env returns: > > which env > /home/lin/opt/guix-build-system/bin/env > > Now, with git clone example over HTTPS: > > git clone --branch gn-latest https://github.com/genenetwork/guix-bioinfor= matics > Cloning into 'guix-bioinformatics'... > fatal: unable to access > 'https://github.com/genenetwork/guix-bioinformatics/': server > certificate verification failed. CAfile: none CRLfile: none > > The system git does not present such an error. > > What could be wrong with my setup? Missing certificates? > > At the moment, I've installed the nss-certs package hoping it would be > a workaround as these are Mozilla certs, but to no avail. I think you also need to set the =E2=80=98GIT_SSL_CAINFO=E2=80=99 environme= nt variable. For instance: $ guix package -i nss-certs $ export SSL_CERT_DIR=3D"$HOME/.guix-profile/etc/ssl/certs" $ export SSL_CERT_FILE=3D"$HOME/.guix-profile/etc/ssl/certs/ca-certifi= cates.crt" $ export GIT_SSL_CAINFO=3D"$SSL_CERT_FILE" Can you confirm? Thanks, Ludo=E2=80=99.