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.

vars 1.6KB

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