From 2e625ed39b5448efd6fb4356c32d84019f2e08f8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 9 Nov 2014 20:57:44 -0800 Subject: crypto/x509: add Solaris certificate file location Fixes issue 9078. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/172920043 --- src/crypto/x509/root_unix.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/crypto/x509') 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 -- cgit v1.2.1