Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 15:02:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-security@FreeBSD.org
Subject:   [Bug 193871] Certificates in /etc/ssl/certs not considered by pkg and fetch
Message-ID:  <bug-193871-5710-AoCPdSMovv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193871-5710@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193871-5710@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193871

--- Comment #7 from commit-hook@freebsd.org ---
A commit references this bug:

Author: bapt
Date: Tue Jan 19 15:02:38 UTC 2016
New revision: 294326
URL: https://svnweb.freebsd.org/changeset/base/294326

Log:
  Test for /etc/ssl/cert.pem existence to avoid masking SSL_CA_CERT_PATH

  Prior to this patch, unless SSL_CA_CERT_FILE is set in the environment,
  libfetch will set the CA file to "/usr/local/etc/cert.pem" if it exists,
  and to "/etc/ssl/cert.pem" otherwise. This has the consequence of
  masking SSL_CA_CERT_PATH, because OpenSSL will ignore the CA path if a CA
  file is set but fails to load (see X509_STORE_load_locations()).

  While here, fall back to OpenSSL defaults if neither SSL_CA_CERT_FILE nor
  SSL_CA_CERT_PATH are set in the environment, and if neither of the
  libfetch default CA files exists.

  PR:           193871
  Submitted by: John W. O'Brien <john@saltant.com>
  Approved by:  des
  MFC after:    1 week

Changes:
  head/lib/libfetch/common.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193871-5710-AoCPdSMovv>