diff --git a/openvpn-install.sh b/openvpn-install-capass.sh similarity index 99% rename from openvpn-install.sh rename to openvpn-install-capass.sh index 0685a72..c484ee4 100755 --- a/openvpn-install.sh +++ b/openvpn-install-capass.sh @@ -648,14 +648,14 @@ function installOpenVPN () { echo "set_var EASYRSA_REQ_CN $SERVER_CN" >> vars # Create the PKI, set up the CA, the DH params and the server certificate ./easyrsa init-pki - ./easyrsa --batch build-ca nopass + ./easyrsa --batch build-ca if [[ $DH_TYPE == "2" ]]; then # ECDH keys are generated on-the-fly so we don't need to generate them beforehand openssl dhparam -out dh.pem $DH_KEY_SIZE fi - ./easyrsa build-server-full "$SERVER_NAME" nopass + ./easyrsa build-server-full "$SERVER_NAME" EASYRSA_CRL_DAYS=3650 ./easyrsa gen-crl case $TLS_SIG in