| 1 |
// Copyright 2015 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
package x509 |
| 6 |
|
| 7 |
// Possible certificate files; stop after finding one. |
| 8 |
var certFiles = []string{ |
| 9 |
"/etc/certs/ca-certificates.crt", // Solaris 11.2+ |
| 10 |
"/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS |
| 11 |
"/etc/ssl/cacert.pem", // OmniOS |
| 12 |
} |
| 13 |
|
| 14 |
// Possible directories with certificate files; all will be read. |
| 15 |
var certDirectories = []string{ |
| 16 |
"/etc/certs/CA", |
| 17 |
} |