Skip to main content

extra_root_certificates

Function extra_root_certificates 

Source
pub(crate) fn extra_root_certificates() -> Vec<Certificate>
Expand description

The authorities EXTRA_CA_CERTS names, or nothing if it is unset.

A file that cannot be read, or holds nothing a certificate parses out of, contributes no roots and says so at warn. Failing the build instead would take down a process over a development setting; failing silently would leave every request refused with a handshake error that names nothing.