github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/x509/root_solaris.go (about) 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 package x509 6 7 // Possible certificate files; stop after finding one. 8 var certFiles = []string{ 9 "/etc/certs/ca-certificates.crt", // Solaris 11.2+ 10 "/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS 11 "/etc/ssl/cacert.pem", // OmniOS 12 } 13 14 // Possible directories with certificate files; stop after successfully 15 // reading at least one file from a directory. 16 var certDirectories = []string{ 17 "/etc/certs/CA", 18 }