From mboxrd@z Thu Jan 1 00:00:00 1970 From: HiPhish Subject: Re: guix download and GitHub Date: Sun, 26 Aug 2018 22:57:51 +0200 Message-ID: <2161259.XVrkE7AD1H@aleksandar-ixtreme-m5740> References: <5424534.lOV4Wx5bFT@aleksandar-ixtreme-m5740> <878t4znztl.fsf@aminb.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fu26g-0000u7-Tp for guix-devel@gnu.org; Sun, 26 Aug 2018 16:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fu26d-0002En-OX for guix-devel@gnu.org; Sun, 26 Aug 2018 16:57:58 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50043) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fu26c-0002Dw-PH for guix-devel@gnu.org; Sun, 26 Aug 2018 16:57:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1206120FA8 for ; Sun, 26 Aug 2018 22:57:53 +0200 (CEST) In-Reply-To: <878t4znztl.fsf@aminb.org> 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: Amin Bandali Cc: guix-devel@gnu.org Thank you, no idea how I missed that :( On Mittwoch, 22. August 2018 00:02:14 CEST you wrote: > Hello, > > Looking at the manual entry for guix download [0], we can see: > > guix download verifies HTTPS server certificates by loading > the certificates of X.509 authorities from the directory > pointed to by the SSL_CERT_DIR environment variable (see > X.509 Certificates), unless --no-check-certificate is used. > > [0]: > https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-downloa > d.html > > You can either use your operating system's certs directory > (usually /etc/ssl/certs), or install the nss-certs guix package, > as shown on the man page for X.509 Certificates [1] and export > the related environment variables to tell programs to use it: > > $ guix package -i nss-certs > $ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" > $ export > SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" $ > export GIT_SSL_CAINFO="$SSL_CERT_FILE" > > [1]: > https://www.gnu.org/software/guix/manual/en/html_node/X_002e509-Certificate > s.html > > Hope that helps. > > -amin