oa_gateway_adapter::tls

Function root_store_from_pem

Source
fn root_store_from_pem(field: &str, pem: &[u8]) -> Result<RootCertStore, String>
Expand description

Parses a PEM bundle of certificate authorities. field names the config key in error messages, e.g. "owp.tls_client_ca".