openssl-env.pod 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. Only used by
  15. the B<rehash> script.
  16. See L<openssl-rehash(1)/Script Configuration>.
  17. =item B<OPENSSL_CONF>
  18. Specifies the path to a configuration file.
  19. See L<openssl(1)> and L<config(5)>.
  20. =item B<OPENSSL_ENGINES>
  21. Specifies the directory from which dynamic engines are loaded.
  22. See L<openssl-engine(1)>.
  23. =item B<OPENSSL_MALLOC_FD>, B<OPENSSL_MALLOC_FAILURES>
  24. If built with debugging, this allows memory allocation to fail.
  25. See L<OPENSSSL_malloc(3)>.
  26. =item B<OPENSSL_MODULES>
  27. Specifies the directory from which cryptographic providers are loaded.
  28. See L<openssl-provider(1)>.
  29. =item B<OPENSSL_WIN32_UTF8>
  30. If set, then L<UI_OpenSSL(3)> returns UTF-8 encoded strings, rather than
  31. ones encoded in the current code page, and
  32. the L<openssl(1)> program also transcodes the command-line parameters
  33. from the current code page to UTF-8.
  34. This environment variable is only checked on Microsoft Windows platforms.
  35. =item B<RANDFILE>
  36. The state file for the random number generator.
  37. This should not be needed in normal use.
  38. See L<RAND_load_file(3)>.
  39. =item B<SSL_CERT_DIR>, B<SSL_CERT_FILE>
  40. Specify the default directory or file containing CA certificates.
  41. See L<SSL_CTX_load_verify_locations(3)>.
  42. =item B<TSGET>
  43. Additional arguments for the L<tsget(1)> command.
  44. =back
  45. =head1 COPYRIGHT
  46. Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
  47. Licensed under the Apache License 2.0 (the "License"). You may not use
  48. this file except in compliance with the License. You can obtain a copy
  49. in the file LICENSE in the source distribution or at
  50. L<https://www.openssl.org/source/license.html>.
  51. =cut