Skip to main content

client_root_certs

Function client_root_certs 

pub fn client_root_certs() -> Arc<RootCertStore> 
Available on crate feature rustls only.
Expand description

The default client root certificate store used to verify servers.

By default this is built from the platform’s native trust store (the system root certificates), loaded once and shared process-wide via rama_crypto::native_certs::shared_native_trust_anchors. On systems where no native roots are found, that loader warns and falls back to the bundled webpki (Mozilla CCADB) roots.