bc3c41ce36
Fixes <http://bugs.gnu.org/24466>. Reported by Leo Famulari <leo@famulari.name>. * guix/build/download.scm (%x509-certificate-directory): New variable. (make-credendials-with-ca-trust-files, peer-certificate) (assert-valid-server-certificate, print-tls-certificate-error): New procedures. Add 'print-tls-certificate-error' as an exception printer for 'tls-certificate-error'. (tls-wrap): Add #:verify-certificate? parameter and honor it. (open-connection-for-uri): Likewise. (http-fetch): Likewise. (url-fetch): Likewise. * guix/download.scm (url-fetch)[builder]: Pass #:verify-certificate? #f. * guix/scripts/lint.scm (probe-uri): Add case for 'tls-certificate-error'. (validate-uri): Likewise. * doc/guix.texi (Invoking guix download): Mention 'SSL_CERT_DIR'. |
||
---|---|---|
.. | ||
ant-build-system.scm | ||
asdf-build-system.scm | ||
bournish.scm | ||
cmake-build-system.scm | ||
cvs.scm | ||
download.scm | ||
emacs-build-system.scm | ||
emacs-utils.scm | ||
git.scm | ||
glib-or-gtk-build-system.scm | ||
gnu-build-system.scm | ||
gnu-dist.scm | ||
graft.scm | ||
gremlin.scm | ||
haskell-build-system.scm | ||
hg.scm | ||
lisp-utils.scm | ||
perl-build-system.scm | ||
profiles.scm | ||
pull.scm | ||
python-build-system.scm | ||
qt-utils.scm | ||
r-build-system.scm | ||
rpath.scm | ||
ruby-build-system.scm | ||
store-copy.scm | ||
svn.scm | ||
syscalls.scm | ||
union.scm | ||
utils.scm | ||
waf-build-system.scm |