# openssl-env(7) - man - phpman

[OPENSSL-ENV(7SSL)](https://www.chedong.com/phpMan.php/man/OPENSSL-ENV/7SSL/markdown)                              OpenSSL                             [OPENSSL-ENV(7SSL)](https://www.chedong.com/phpMan.php/man/OPENSSL-ENV/7SSL/markdown)



## NAME
       openssl-env - OpenSSL environment variables

## DESCRIPTION
       The OpenSSL libraries use environment variables to override the compiled-in default paths for
       various data.  To avoid security risks, the environment is usually not consulted when the
       executable is set-user-ID or set-group-ID.

       **CTLOG**___**FILE**
           Specifies the path to a certificate transparency log list.  See **CTLOG**___**STORE**___**[new**(3)](https://www.chedong.com/phpMan.php/man/new/3/markdown).

       **OPENSSL**
           Specifies the path to the **openssl** executable. Used by the **rehash** script (see "Script
           Configuration" in [**openssl-rehash**(1)](https://www.chedong.com/phpMan.php/man/openssl-rehash/1/markdown)) and by the **CA.pl** script (see "NOTES" in [**CA.pl**(1)](https://www.chedong.com/phpMan.php/man/CA.pl/1/markdown)

       **OPENSSL**___**CONF**, **OPENSSL**___**CONF**___**INCLUDE**
           Specifies the path to a configuration file and the directory for included files.  See
           [**config**(5)](https://www.chedong.com/phpMan.php/man/config/5/markdown).

       **OPENSSL**___**CONFIG**
           Specifies a configuration option and filename for the **req** and **ca** commands invoked by the
           **CA.pl** script.  See [**CA.pl**(1)](https://www.chedong.com/phpMan.php/man/CA.pl/1/markdown).

       **OPENSSL**___**ENGINES**
           Specifies the directory from which dynamic engines are loaded.  See [**openssl-engine**(1)](https://www.chedong.com/phpMan.php/man/openssl-engine/1/markdown).

       **OPENSSL**___**MALLOC**___**FD**, **OPENSSL**___**MALLOC**___**FAILURES**
           If built with debugging, this allows memory allocation to fail.  See **OPENSSL**___**[malloc**(3)](https://www.chedong.com/phpMan.php/man/malloc/3/markdown).

       **OPENSSL**___**MODULES**
           Specifies the directory from which cryptographic providers are loaded.  Equivalently, the
           generic **-provider-path** command-line option may be used.

       **OPENSSL**___**WIN32**___**UTF8**
           If set, then **UI**___**[OpenSSL**(3)](https://www.chedong.com/phpMan.php/man/OpenSSL/3/markdown) returns UTF-8 encoded strings, rather than ones encoded in the
           current code page, and the [**openssl**(1)](https://www.chedong.com/phpMan.php/man/openssl/1/markdown) program also transcodes the command-line parameters
           from the current code page to UTF-8.  This environment variable is only checked on
           Microsoft Windows platforms.

       **RANDFILE**
           The state file for the random number generator.  This should not be needed in normal use.
           See **RAND**___**load**___**[file**(3)](https://www.chedong.com/phpMan.php/man/file/3/markdown).

       **SSL**___**CERT**___**DIR**, **SSL**___**CERT**___**FILE**
           Specify the default directory or file containing CA certificates.  See
           **SSL**___**CTX**___**load**___**verify**___**[locations**(3)](https://www.chedong.com/phpMan.php/man/locations/3/markdown).

       **TSGET**
           Additional arguments for the [**tsget**(1)](https://www.chedong.com/phpMan.php/man/tsget/1/markdown) command.

       **OPENSSL**___**ia32cap**, **OPENSSL**___**sparcv9cap**, **OPENSSL**___**ppccap**, **OPENSSL**___**armcap**, **OPENSSL**___**s390xcap**
           OpenSSL supports a number of different algorithm implementations for various machines
           and, by default, it determines which to use based on the processor capabilities and run
           time feature enquiry.  These environment variables can be used to exert more control over
           this selection process.  See **OPENSSL**___**[ia32cap**(3)](https://www.chedong.com/phpMan.php/man/ia32cap/3/markdown), **OPENSSL**___**[s390xcap**(3)](https://www.chedong.com/phpMan.php/man/s390xcap/3/markdown).

       **NO**___**PROXY**, **HTTPS**___**PROXY**, **HTTP**___**PROXY**
           Specify a proxy hostname.  See **OSSL**___**HTTP**___**parse**___**[url**(3)](https://www.chedong.com/phpMan.php/man/url/3/markdown).

## COPYRIGHT
       Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.

       Licensed under the Apache License 2.0 (the "License").  You may not use this file except in
       compliance with the License.  You can obtain a copy in the file LICENSE in the source
       distribution or at <<https://www.openssl.org/source/license.html>>.



3.0.2                                        2026-04-07                            [OPENSSL-ENV(7SSL)](https://www.chedong.com/phpMan.php/man/OPENSSL-ENV/7SSL/markdown)
