github.com/x04/go/src@v0.0.0-20200202162449-3d481ceb3525/crypto/x509/root_linux.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/ssl/certs/ca-certificates.crt",			// Debian/Ubuntu/Gentoo etc.
    10  	"/etc/pki/tls/certs/ca-bundle.crt",			// Fedora/RHEL 6
    11  	"/etc/ssl/ca-bundle.pem",				// OpenSUSE
    12  	"/etc/pki/tls/cacert.pem",				// OpenELEC
    13  	"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem",	// CentOS/RHEL 7
    14  	"/etc/ssl/cert.pem",					// Alpine Linux
    15  }