ssl_certs

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

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/ssl_certs.html