No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_openvpn_easy-rsa_2.0_vars.j2 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # easy-rsa parameter settings
  2. # NOTE: If you installed from an RPM,
  3. # don't edit this file in place in
  4. # /usr/share/openvpn/easy-rsa --
  5. # instead, you should copy the whole
  6. # easy-rsa directory to another location
  7. # (such as /etc/openvpn) so that your
  8. # edits will not be wiped out by a future
  9. # OpenVPN package upgrade.
  10. # This variable should point to
  11. # the top level of the easy-rsa
  12. # tree.
  13. export EASY_RSA="`pwd`"
  14. #
  15. # This variable should point to
  16. # the requested executables
  17. #
  18. export OPENSSL="openssl"
  19. export PKCS11TOOL="pkcs11-tool"
  20. export GREP="grep"
  21. # This variable should point to
  22. # the openssl.cnf file included
  23. # with easy-rsa.
  24. export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`
  25. # Edit this variable to point to
  26. # your soon-to-be-created key
  27. # directory.
  28. #
  29. # WARNING: clean-all will do
  30. # a rm -rf on this directory
  31. # so make sure you define
  32. # it correctly!
  33. export KEY_DIR="$EASY_RSA/keys"
  34. # Issue rm -rf warning
  35. echo NOTE: If you run ./clean-all, I will be doing a rm -rf on $KEY_DIR
  36. # PKCS11 fixes
  37. export PKCS11_MODULE_PATH="dummy"
  38. export PKCS11_PIN="dummy"
  39. # Increase this to 2048 if you
  40. # are paranoid. This will slow
  41. # down TLS negotiation performance
  42. # as well as the one-time DH parms
  43. # generation process.
  44. export KEY_SIZE=1024
  45. # In how many days should the root CA key expire?
  46. export CA_EXPIRE=3650
  47. # In how many days should certificates expire?
  48. export KEY_EXPIRE=3650
  49. # These are the default values for fields
  50. # which will be placed in the certificate.
  51. # Don't leave any of these fields blank.
  52. export KEY_COUNTRY="{{ key_country }}"
  53. export KEY_PROVINCE="{{ key_province }}"
  54. export KEY_CITY="{{ key_city }}"
  55. export KEY_ORG="{{ key_org }}"
  56. export KEY_EMAIL="{{ key_email }}"
  57. export KEY_CN={{ key_cn }}
  58. export KEY_NAME={{ key_name }}
  59. export KEY_OU={{ key_ou }}
  60. export PKCS11_MODULE_PATH=changeme
  61. export PKCS11_PIN=1234