Function load_validated_extra_certs
pub fn load_validated_extra_certs() -> Result<Vec<CertificateDer<'static>>, Box<dyn Error + Send + Sync>>Available on crate features
crypto and native-certs and std only.Expand description
Read, validate, and deduplicate the roots configured by SSL_CERT_EXTRA_FILE
and SSL_CERT_EXTRA_DIR in one pass. These roots supplement the live platform verifier.
This read may block. It only consults the extra-root paths.