root_bsd.go 571 B

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