1OPENSSL-ENV(7ossl) OpenSSL OPENSSL-ENV(7ossl)
2
3
4
6 openssl-env - OpenSSL environment variables
7
9 The OpenSSL libraries use environment variables to override the
10 compiled-in default paths for various data. To avoid security risks,
11 the environment is usually not consulted when the executable is set-
12 user-ID or set-group-ID.
13
14 CTLOG_FILE
15 Specifies the path to a certificate transparency log list. See
16 CTLOG_STORE_new(3).
17
18 OPENSSL
19 Specifies the path to the openssl executable. Used by the rehash
20 script (see "Script Configuration" in openssl-rehash(1)) and by the
21 CA.pl script (see "NOTES" in CA.pl(1)
22
23 OPENSSL_CONF, OPENSSL_CONF_INCLUDE
24 Specifies the path to a configuration file and the directory for
25 included files. See config(5).
26
27 OPENSSL_CONFIG
28 Specifies a configuration option and filename for the req and ca
29 commands invoked by the CA.pl script. See CA.pl(1).
30
31 OPENSSL_ENGINES
32 Specifies the directory from which dynamic engines are loaded. See
33 openssl-engine(1).
34
35 OPENSSL_MALLOC_FD, OPENSSL_MALLOC_FAILURES
36 If built with debugging, this allows memory allocation to fail.
37 See OPENSSL_malloc(3).
38
39 OPENSSL_MODULES
40 Specifies the directory from which cryptographic providers are
41 loaded. Equivalently, the generic -provider-path command-line
42 option may be used.
43
44 OPENSSL_WIN32_UTF8
45 If set, then UI_OpenSSL(3) returns UTF-8 encoded strings, rather
46 than ones encoded in the current code page, and the openssl(1)
47 program also transcodes the command-line parameters from the
48 current code page to UTF-8. This environment variable is only
49 checked on Microsoft Windows platforms.
50
51 RANDFILE
52 The state file for the random number generator. This should not be
53 needed in normal use. See RAND_load_file(3).
54
55 SSL_CERT_DIR, SSL_CERT_FILE
56 Specify the default directory or file containing CA certificates.
57 See SSL_CTX_load_verify_locations(3).
58
59 TSGET
60 Additional arguments for the tsget(1) command.
61
62 OPENSSL_ia32cap, OPENSSL_sparcv9cap, OPENSSL_ppccap, OPENSSL_armcap,
63 OPENSSL_s390xcap
64 OpenSSL supports a number of different algorithm implementations
65 for various machines and, by default, it determines which to use
66 based on the processor capabilities and run time feature enquiry.
67 These environment variables can be used to exert more control over
68 this selection process. See OPENSSL_ia32cap(3),
69 OPENSSL_s390xcap(3).
70
71 NO_PROXY, HTTPS_PROXY, HTTP_PROXY
72 Specify a proxy hostname. See OSSL_HTTP_parse_url(3).
73
75 Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
76
77 Licensed under the Apache License 2.0 (the "License"). You may not use
78 this file except in compliance with the License. You can obtain a copy
79 in the file LICENSE in the source distribution or at
80 <https://www.openssl.org/source/license.html>.
81
82
83
843.0.9 2023-07-27 OPENSSL-ENV(7ossl)