openssl_probe

Function init_ssl_cert_env_vars

Source
pub fn init_ssl_cert_env_vars()
Expand description

Probe for SSL certificates on the system, then configure the SSL certificate SSL_CERT_FILE and SSL_CERT_DIR environment variables in this process for OpenSSL to use.

Preconfigured values in the environment variables will not be overwritten if the paths they point to exist and are accessible.