summaryrefslogtreecommitdiff
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
commit2e625ed39b5448efd6fb4356c32d84019f2e08f8 (patch)
tree4aec57c6fe9869773686f82679104c897f0353f8
parent9103409cfde1cdabad9b7e2475543015db0cc9d0 (diff)
downloadgo-2e625ed39b5448efd6fb4356c32d84019f2e08f8.tar.gz
crypto/x509: add Solaris certificate file location
Fixes issue 9078. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/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 c65f626ac..f77d6c0c5 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