| 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 | // +build dragonfly freebsd netbsd openbsd |
| 6 | |
| 7 | package x509andr |
| 8 | |
| 9 | // Possible certificate files; stop after finding one. |
| 10 | var certFiles = []string{ |
| 11 | "/usr/local/etc/ssl/cert.pem", // FreeBSD |
| 12 | "/etc/ssl/cert.pem", // OpenBSD |
| 13 | "/usr/local/share/certs/ca-root-nss.crt", // DragonFly |
| 14 | "/etc/openssl/certs/ca-certificates.crt", // NetBSD |
| 15 | } |