forked from lix-project/lix
ssl-cert-file: Use lists
This commit is contained in:
parent
e53e5c38d4
commit
a519436e9d
|
@ -832,12 +832,17 @@ public:
|
||||||
this, getDefaultSSLCertFile(), "ssl-cert-file",
|
this, getDefaultSSLCertFile(), "ssl-cert-file",
|
||||||
R"(
|
R"(
|
||||||
The path of a file containing CA certificates used to
|
The path of a file containing CA certificates used to
|
||||||
authenticate `https://` downloads. It defaults to the first
|
authenticate `https://` downloads. Nix by default will use
|
||||||
of `/etc/ssl/certs/ca-certificates.crt` and
|
the first of the following files that exists:
|
||||||
`/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt`
|
|
||||||
that exists. It can be overriden using the
|
1. `/etc/ssl/certs/ca-certificates.crt`
|
||||||
`NIX_SSL_CERT_FILE` and `SSL_CERT_FILE` environment variable
|
2. `/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt`
|
||||||
(in that order of precedence).
|
|
||||||
|
The path can be overridden by the following environment
|
||||||
|
variables, in order of precedence:
|
||||||
|
|
||||||
|
1. `NIX_SSL_CERT_FILE`
|
||||||
|
2. `SSL_CERT_FILE`
|
||||||
)"};
|
)"};
|
||||||
|
|
||||||
#if __linux__
|
#if __linux__
|
||||||
|
|
Loading…
Reference in a new issue