From d65aaf24a6f7c4752aa5609f3f40433218483e72 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 13 Oct 2011 16:17:15 -0400 Subject: [PATCH] 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 --- src/pkg/crypto/tls/root_unix.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pkg/crypto/tls/root_unix.go b/src/pkg/crypto/tls/root_unix.go index 57af92aed4e..095beec104a 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() {