Expand description
The OS store of trusted root certificates (Windows), for TLS clients. The operating system’s trusted root certificates, for TLS clients.
- Windows: the
ROOTsystem store of the current user (which includes the machine roots), read withCertOpenSystemStoreWandCertEnumCertificatesInStorefrom crypt32. - Elsewhere: nothing here; Unix systems keep their roots in PEM bundles (
/etc/ssl/...,SSL_CERT_FILE), which simoom-tls reads itself. macOS ships/etc/ssl/cert.pemwith the system roots, so the bundle path covers it too.
Functions§
- system_
roots - DER-encoded root certificates from the OS store (empty where the OS has no such store or it cannot be opened).