From 971dbb4bb5e07b501b55b27f8af4e0cb4d311d95 Mon Sep 17 00:00:00 2001 From: lawtancool <26829131+lawtancool@users.noreply.github.com> Date: Fri, 21 Jun 2019 21:37:35 -0700 Subject: [PATCH] fix EASYRSA_SSL_CONF --- bin/ovpn_initpki | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ovpn_initpki b/bin/ovpn_initpki index ec64ec5..c2f5d8c 100755 --- a/bin/ovpn_initpki +++ b/bin/ovpn_initpki @@ -11,7 +11,6 @@ fi set -e source "$OPENVPN/ovpn_env.sh" -export EASYRSA_SSL_CONF="/usr/share/easy-rsa/openssl-1.0.0.cnf" # Specify "nopass" as arg[2] to make the CA insecure (not recommended!) nopass=$1 @@ -20,6 +19,8 @@ nopass=$1 wget https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.tgz tar xvf EasyRSA-3.0.4.tgz +export EASYRSA_SSL_CONF="EasyRSA-3.0.4/openssl-easyrsa.cnf" + # Provides a sufficient warning before erasing pre-existing files EasyRSA-3.0.4/easyrsa init-pki