pub fn load_certificates_from_pem(path: &Path) -> Result<Vec<Certificate>>