fix EASYRSA_SSL_CONF
This commit is contained in:
parent
a0fc7f8288
commit
971dbb4bb5
@ -11,7 +11,6 @@ fi
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
source "$OPENVPN/ovpn_env.sh"
|
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!)
|
# Specify "nopass" as arg[2] to make the CA insecure (not recommended!)
|
||||||
nopass=$1
|
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
|
wget https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.tgz
|
||||||
tar xvf 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
|
# Provides a sufficient warning before erasing pre-existing files
|
||||||
EasyRSA-3.0.4/easyrsa init-pki
|
EasyRSA-3.0.4/easyrsa init-pki
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user