mirror of
https://github.com/golang/go
synced 2024-10-14 11:53:56 +00:00
Add new FreeBSD 12.2+ trusted certificate folder
Up to FreeBSD 12.1 the package ca_root_nss was needed in order to have certificates under /usr/local/share/certs as the base system didn't have a system-wide trusted certificate store. This has been created in FreeBSD 12.2 in /etc/ssl/certs: https://svnweb.freebsd.org/base?view=revision&revision=357082 Fixes #46284
This commit is contained in:
parent
6c1c055d1e
commit
0fa5542ea3
|
@ -18,6 +18,7 @@ var certFiles = []string{
|
|||
// Possible directories with certificate files; stop after successfully
|
||||
// reading at least one file from a directory.
|
||||
var certDirectories = []string{
|
||||
"/etc/ssl/certs", // FreeBSD 12.2+
|
||||
"/usr/local/share/certs", // FreeBSD
|
||||
"/etc/openssl/certs", // NetBSD
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue