root_bsd.go 527 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 system
  7. // Possible certificate files; stop after finding one.
  8. var certFiles = []string{
  9. "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
  10. "/etc/ssl/cert.pem", // OpenBSD
  11. "/etc/openssl/certs/ca-certificates.crt", // NetBSD
  12. }