From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Openssl and certificate directory Date: Sun, 08 Feb 2015 10:49:42 -0500 Message-ID: <87fvagtnc9.fsf@netris.org> References: <20150207151748.GA6943@debian> <874mqx2mib.fsf@netris.org> <20150208094937.GA10816@debian> <878ug8trcx.fsf@gnu.org> 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]:33930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKU7I-0003gN-UN for guix-devel@gnu.org; Sun, 08 Feb 2015 10:49:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKU7F-0005QC-PS for guix-devel@gnu.org; Sun, 08 Feb 2015 10:49:48 -0500 In-Reply-To: <878ug8trcx.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 08 Feb 2015 15:22:54 +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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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 Open= SSL for > SSL_CERT_DIR. Sounds good to me! Thanks! Mark