github.com/emmansun/gmsm@v0.29.1/smx509/root_solaris.go (about)

     1  package smx509
     2  
     3  // Possible certificate files; stop after finding one.
     4  var certFiles = []string{
     5  	"/etc/certs/ca-certificates.crt",     // Solaris 11.2+
     6  	"/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS
     7  	"/etc/ssl/cacert.pem",                // OmniOS
     8  }
     9  
    10  // Possible directories with certificate files; all will be read.
    11  var certDirectories = []string{
    12  	"/etc/certs/CA",
    13  }