aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-11-09 20:57:44 -0800
committerIan Lance Taylor <iant@golang.org>2014-11-09 20:57:44 -0800
commitcea69d687732be20e0ca245b162b59eba26fff54 (patch)
tree13846c0d843fb7be643aab209045ca0269a2cde7
parentf6661675729bcd9d2dd0149bbcbfccd3facb22f6 (diff)
downloadgo-cea69d687732be20e0ca245b162b59eba26fff54.tar.gz
go-cea69d687732be20e0ca245b162b59eba26fff54.zip
crypto/x509: add Solaris certificate file location
Fixes #9078. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/172920043
-rw-r--r--src/crypto/x509/root_unix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
index c65f626ac8..f77d6c0c57 100644
--- a/src/crypto/x509/root_unix.go
+++ b/src/crypto/x509/root_unix.go
@@ -16,6 +16,7 @@ var certFiles = []string{
"/etc/ssl/cert.pem", // OpenBSD
"/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
"/etc/pki/tls/cacert.pem", // OpenELEC
+ "/etc/certs/ca-certificates.crt", // Solaris 11.2+
}
// Possible directories with certificate files; stop after successfully