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:
parent
d1bafffa4b
commit
d65aaf24a6
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user