Skip to main content

auto_trust

Function auto_trust 

Source
pub fn auto_trust(cert_path: &Path) -> AutoTrustResult
Expand description

Attempt to automatically install the CA certificate into the system trust store during supervisor startup.

This is a best-effort operation: if it fails due to permissions or other issues, it returns NotTrusted instead of an error. The user can then manually run pitchfork proxy trust.

Auto trust may fail silently due to permissions; user can run pitchfork proxy trust manually.