mirror of https://go.googlesource.com/go
18 lines
538 B
Go
18 lines
538 B
Go
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package x509
|
|
|
|
// Possible certificate files; stop after finding one.
|
|
var certFiles = []string{
|
|
"/etc/certs/ca-certificates.crt", // Solaris 11.2+
|
|
"/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS
|
|
"/etc/ssl/cacert.pem", // OmniOS
|
|
}
|
|
|
|
// Possible directories with certificate files; all will be read.
|
|
var certDirectories = []string{
|
|
"/etc/certs/CA",
|
|
}
|