From 19104dc532bb15896090c2f8a72080a342fcad20 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Sat, 4 Oct 2014 08:09:39 +1000 Subject: [PATCH] crypto/x509: add OpenELEC system root location. Fixes #8349. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/147320043 --- src/crypto/x509/root_unix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go index 10057c0c03..c65f626ac8 100644 --- a/src/crypto/x509/root_unix.go +++ b/src/crypto/x509/root_unix.go @@ -15,6 +15,7 @@ var certFiles = []string{ "/etc/ssl/ca-bundle.pem", // OpenSUSE "/etc/ssl/cert.pem", // OpenBSD "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly + "/etc/pki/tls/cacert.pem", // OpenELEC } // Possible directories with certificate files; stop after successfully -- 2.51.0