From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Openssl and certificate directory Date: Sun, 08 Feb 2015 15:22:54 +0100 Message-ID: <878ug8trcx.fsf@gnu.org> References: <20150207151748.GA6943@debian> <874mqx2mib.fsf@netris.org> <20150208094937.GA10816@debian> 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]:51430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKSlJ-0001Z9-Eo for guix-devel@gnu.org; Sun, 08 Feb 2015 09:23:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKSlF-0006xu-EI for guix-devel@gnu.org; Sun, 08 Feb 2015 09:23:01 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKSlF-0006xq-BD for guix-devel@gnu.org; Sun, 08 Feb 2015 09:22:57 -0500 In-Reply-To: <20150208094937.GA10816@debian> (Andreas Enge's message of "Sun, 8 Feb 2015 10:49:37 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Sat, Feb 07, 2015 at 08:57:32PM -0500, Mark H Weaver wrote: >> Unlike GnuTLS, OpenSSL supports setting the trust store location using >> environment variables, specifically SSL_CERT_DIR and SSL_CERT_FILE. >> Shouldn't we just use those? > > I had read about these, but the documentation mentions them only in the > context of c_rehash. So I thought they were not generally applicable. But > indeed they are, I just tried SSL_CERT_DIR with youtube-dl. Also, it can = be > a ":" separated list of directories. So we should probably encourage its > usage by defining a search path with our (future) certificate packages. [...] > So maybe we do not need it at all? What do you think? I agree, we should just use SSL_CERT_DIR and SSL_CERT_FILE. We could indeed add a =E2=80=98search-path-specification=E2=80=99 in OpenSS= L for SSL_CERT_DIR. Thanks, Ludo=E2=80=99.