Function brane_cfg::certs::load_certstore

source ·
pub fn load_certstore(
    storefile: impl AsRef<Path>,
) -> Result<RootCertStore, Error>
Expand description

Loads the client certificates from disk as a CertStore.

§Arguments

  • storefile: Path to the certificate file to load.

§Returns

A new RootCertStore with the certificates of the allowed client.

§Errors

This function errors if we failed to read either of the files.