Specifies the locations for the context, at which CA certificates for verification
purposes are located. The certificates available via ca_file
and ca_path
are
trusted.
If ca_file
is not None
, it points to a file of CA certificates in PEM format.
It may have more than one certificate.
If ca_path
is not None
, it points to a directory containing CA certificates in
PEM format. The files each contain one CA certificate. The certificates in
ca_path
are only looked up lazily, not eagarly.
Prepare the directory /some/where/certs
containing several CA certificates for use
as ca_path
:
{
cd /some/where/certs
c_rehash .
}
If both ca_file
and ca_path
are specified, the certificates in ca_file
will be
searched before the certificates in ca_path
.