1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:57:56 -07:00

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
This commit is contained in:
Russ Cox 2011-10-13 16:17:15 -04:00
parent d1bafffa4b
commit d65aaf24a6

View File

@ -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() {