Skip to main content

bootstrap_fetch

Function bootstrap_fetch 

Source
pub async fn bootstrap_fetch(
    roots: Arc<RootCertStore>,
    ca_certs: &[CertificateDer<'static>],
    config: MtlsConfig,
) -> Result<(Arc<CrlSet>, UnboundedReceiver<String>), McpxError>
Expand description

Bootstrap the CRL cache by extracting CDP URLs from the CA chain and fetching any reachable CRLs with a 10-second total deadline.

ยงErrors

Returns an error if the initial verifier cannot be built.