# ssl_certs

Dark Mode

- Manual
- Standard library
- Index
- Compiler docs
- Fusion docs

Search:

Scan for SSL/TLS CA certificates on disk The default locations can be overridden using the SSL_CERT_FILE and SSL_CERT_DIR environment variables.

# Imports

os, strutils

# Iterators

    iterator scanSSLCertificates(useEnvVars = false): string {...}{.raises: [],
        tags: [ReadEnvEffect, ReadDirEffect].}

  Scan for SSL/TLS CA certificates on disk.

  if `useEnvVars` is true, the SSL_CERT_FILE and SSL_CERT_DIR environment variables can be used to override the certificate directories to scan or specify a CA certificate file.

  Source Edit