]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man7/openssl-env.pod
Add a test for OSSL_LIB_CTX_set0_default
[thirdparty/openssl.git] / doc / man7 / openssl-env.pod
CommitLineData
22bb8c25
RS
1=pod
2
3=head1 NAME
4
5openssl-env - OpenSSL environment variables
6
7=head1 DESCRIPTION
8
9The OpenSSL libraries use environment variables to override the
10compiled-in default paths for various data.
11To avoid security risks, the environment is usually not consulted when
12the executable is set-user-ID or set-group-ID.
13
14=over 4
15
16=item B<CTLOG_FILE>
17
18Specifies the path to a certificate transparency log list.
19See L<CTLOG_STORE_new(3)>.
20
21=item B<OPENSSL>
22
a8055c70
RS
23Specifies the path to the B<openssl> executable. Used by
24the B<rehash> script (see L<openssl-rehash(1)/Script Configuration>)
25and by the B<CA.pl> script (see L<CA.pl(1)/NOTES>
22bb8c25 26
a8055c70 27=item B<OPENSSL_CONF>, B<OPENSSL_CONF_INCLUDE>
22bb8c25 28
a8055c70
RS
29Specifies the path to a configuration file and the directory for
30included files.
15795943 31See L<config(5)>.
22bb8c25 32
a8055c70
RS
33=item B<OPENSSL_CONFIG>
34
35Specifies a configuration option and filename for the B<req> and B<ca>
36commands invoked by the B<CA.pl> script.
37See L<CA.pl(1)>.
38
22bb8c25
RS
39=item B<OPENSSL_ENGINES>
40
41Specifies the directory from which dynamic engines are loaded.
42See L<openssl-engine(1)>.
43
44=item B<OPENSSL_MALLOC_FD>, B<OPENSSL_MALLOC_FAILURES>
45
46If built with debugging, this allows memory allocation to fail.
fadb57e5 47See L<OPENSSL_malloc(3)>.
22bb8c25
RS
48
49=item B<OPENSSL_MODULES>
50
51Specifies the directory from which cryptographic providers are loaded.
22bb8c25
RS
52
53=item B<OPENSSL_WIN32_UTF8>
54
55If set, then L<UI_OpenSSL(3)> returns UTF-8 encoded strings, rather than
56ones encoded in the current code page, and
57the L<openssl(1)> program also transcodes the command-line parameters
58from the current code page to UTF-8.
59This environment variable is only checked on Microsoft Windows platforms.
60
61=item B<RANDFILE>
62
63The state file for the random number generator.
64This should not be needed in normal use.
65See L<RAND_load_file(3)>.
66
67=item B<SSL_CERT_DIR>, B<SSL_CERT_FILE>
68
69Specify the default directory or file containing CA certificates.
70See L<SSL_CTX_load_verify_locations(3)>.
71
72=item B<TSGET>
73
74Additional arguments for the L<tsget(1)> command.
75
76=back
77
78=head1 COPYRIGHT
79
4333b89f 80Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
22bb8c25
RS
81
82Licensed under the Apache License 2.0 (the "License"). You may not use
83this file except in compliance with the License. You can obtain a copy
84in the file LICENSE in the source distribution or at
85L<https://www.openssl.org/source/license.html>.
86
87=cut