Skip to main content

load_cert_chain

Function load_cert_chain 

Source
pub fn load_cert_chain(
    path: &str,
) -> Result<Vec<CertificateDer<'static>>, TlsError>
Expand description

Loads the PEM certificate chain at path. Errors if the file is missing or contains no certificates.