| // 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; stop after successfully |
| // reading at least one file from a directory. |
| var certDirectories = []string{ |
| "/etc/certs/CA", |
| } |