On this page
std/ssl_certs
Source EditScan 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
Iterators
-
iterator scanSSLCertificates(useEnvVars = false): string {....raises: [OSError], tags: [ReadEnvEffect, ReadDirEffect, ReadIOEffect], forbids: [].}
-
Scan for SSL/TLS CA certificates on disk.
if
Source EdituseEnvVars
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.
© 2006–2024 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/ssl_certs.html