2
0

openssl-env.pod 3.1 KB

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