From: Russ Cox Date: Thu, 13 Oct 2011 20:17:15 +0000 (-0400) Subject: crypto/tls: more Unix root certificate locations X-Git-Tag: weekly.2011-10-18~87 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d65aaf24a6f7c4752aa5609f3f40433218483e72;p=gostls13.git crypto/tls: more Unix root certificate locations Hard work done by http://mercurial.selenic.com/wiki/CACertificates R=golang-dev, gri CC=golang-dev https://golang.org/cl/5276043 --- diff --git a/src/pkg/crypto/tls/root_unix.go b/src/pkg/crypto/tls/root_unix.go index 57af92aed4..095beec104 100644 --- a/src/pkg/crypto/tls/root_unix.go +++ b/src/pkg/crypto/tls/root_unix.go @@ -12,6 +12,8 @@ import ( // Possible certificate files; stop after finding one. var certFiles = []string{ "/etc/ssl/certs/ca-certificates.crt", // Linux etc + "/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL + "/etc/ssl/ca-bundle.pem", // OpenSUSE } func initDefaultRoots() {