| 1 |
// Copyright 2019 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 |
// This file is derived from root_linux.go |
| 5 |
|
| 6 |
package x509 |
| 7 |
|
| 8 |
// Possible certificate files; stop after finding one. |
| 9 |
var certFiles = []string{ |
| 10 |
"/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc. |
| 11 |
} |
| 12 |
|
| 13 |
// Possible directories with certificate files; stop after successfully |
| 14 |
// reading at least one file from a directory. |
| 15 |
var certDirectories = []string{ |
| 16 |
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139 |
| 17 |
} |