Skip to main content

install_additional_trust_bundle

Function install_additional_trust_bundle 

Source
pub unsafe fn install_additional_trust_bundle(
    path: &Path,
) -> Result<PathBuf, Error>
Expand description

Makes TLS clients in this process trust the PEM-encoded CA certificates in path in addition to the system’s CAs, and returns the path of the merged bundle.

§Safety

Sets SSL_CERT_FILE in the process environment, so it must be called before the process spawns any threads.