openssl-env.pod 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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<openssl(1)> and 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. See L<openssl-provider(1)>.
  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. =back
  50. =head1 COPYRIGHT
  51. Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
  52. Licensed under the Apache License 2.0 (the "License"). You may not use
  53. this file except in compliance with the License. You can obtain a copy
  54. in the file LICENSE in the source distribution or at
  55. L<https://www.openssl.org/source/license.html>.
  56. =cut