fix easyrsa path part 2

This commit is contained in:
lawtancool 2019-06-21 22:34:34 -07:00 committed by GitHub
parent 83d7af491a
commit af3b10e731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,8 @@ nopass=$1
wget https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.6/EasyRSA-unix-v3.0.6.tgz 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 tar xvf EasyRSA-unix-v3.0.6.tgz
export EASYRSA="EasyRSA-unix-v3.0.6/" export EASYRSA="EasyRSA-v3.0.6/"
export EASYRSA_SSL_CONF="EasyRSA-unix-v3.0.6/openssl-easyrsa.cnf" export EASYRSA_SSL_CONF="EasyRSA-v3.0.6/openssl-easyrsa.cnf"
cp -r EasyRSA-v3.0.6/x509-types/ x509-types/ cp -r EasyRSA-v3.0.6/x509-types/ x509-types/
# Provides a sufficient warning before erasing pre-existing files # Provides a sufficient warning before erasing pre-existing files
EasyRSA-v3.0.6/easyrsa init-pki EasyRSA-v3.0.6/easyrsa init-pki