diff --git a/bin/ovpn_initpki b/bin/ovpn_initpki index 0e2acff..edb69f8 100755 --- a/bin/ovpn_initpki +++ b/bin/ovpn_initpki @@ -19,8 +19,8 @@ nopass=$1 wget https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.6/EasyRSA-unix-v3.0.6.tgz tar xvf EasyRSA-unix-v3.0.6.tgz -export EASYRSA="EasyRSA-unix-v3.0.6/" -export EASYRSA_SSL_CONF="EasyRSA-unix-v3.0.6/openssl-easyrsa.cnf" +export EASYRSA="EasyRSA-v3.0.6/" +export EASYRSA_SSL_CONF="EasyRSA-v3.0.6/openssl-easyrsa.cnf" cp -r EasyRSA-v3.0.6/x509-types/ x509-types/ # Provides a sufficient warning before erasing pre-existing files EasyRSA-v3.0.6/easyrsa init-pki