# std/ssl_certs

Theme:

- Manual
- Standard library
- Index
- Compiler docs
- Fusion docs
- devel, stable

Search:
Source Edit

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: [OSError],
        tags: [ReadEnvEffect, ReadDirEffect, ReadIOEffect], forbids: [].}

  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