Source file src/crypto/x509/root_bsd.go

     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  //go:build dragonfly || freebsd || netbsd || openbsd
     6  
     7  package x509
     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  }
    16  
    17  // Possible directories with certificate files; all will be read.
    18  var certDirectories = []string{
    19  	"/etc/ssl/certs",         // FreeBSD 12.2+
    20  	"/usr/local/share/certs", // FreeBSD
    21  	"/etc/openssl/certs",     // NetBSD
    22  }
    23  

View as plain text