# ssl_certs

Dark Mode

- Manual
- Standard library
- Index

Search:
Group by:

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, ospaths, strutils

# Iterators

    iterator scanSSLCertificates(useEnvVars = false): string {...}{.raises: [OSError],
        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