1 2 3 4 5 6 7
//! Explicit local trust keeps HTTP fixtures independent of platform certificates. use servlet::client::{ClientConfig, ClientError}; pub(crate) fn config(origin: &str) -> Result<ClientConfig, ClientError> { ClientConfig::new(origin)?.with_root_certificate(include_bytes!("loopback_root.pem")) }