pub async fn load_existing_certs_into_resolver(
cert_manager: &CertManager,
sni_resolver: &SniCertResolver,
) -> Result<usize, ProxyStartError>Expand description
Load existing certificates into the SNI resolver
§Arguments
cert_manager- The certificate manager to load certificates fromsni_resolver- The SNI resolver to populate with certificates
§Returns
The number of certificates loaded
§Errors
Returns an error if reading certificate files from disk fails.