mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue