Skip to main content

resolve_ca_bundle_path

Function resolve_ca_bundle_path 

Source
pub fn resolve_ca_bundle_path() -> Option<PathBuf>
Expand description

Resolve a usable CA bundle file path for TLS verification.

Resolution order:

  1. CURL_CA_BUNDLE
  2. SSL_CERT_FILE
  3. platform defaults (/etc/ssl/certs/ca-certificates.crt first on Linux)