Skip to main content

Module certstore

Module certstore 

Source
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 ROOT system store of the current user (which includes the machine roots), read with CertOpenSystemStoreW and CertEnumCertificatesInStore from 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.pem with 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).