root_linux.go 684 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. package x509
  5. // Possible certificate files; stop after finding one.
  6. var certFiles = []string{
  7. "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
  8. "/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL 6
  9. "/etc/ssl/ca-bundle.pem", // OpenSUSE
  10. "/etc/pki/tls/cacert.pem", // OpenELEC
  11. "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", // CentOS/RHEL 7
  12. "/etc/ssl/cert.pem", // Alpine Linux
  13. }