1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-05-28 09:00:48 +00:00

Update openvpn-install.sh

This commit is contained in:
Kcchouette 2016-09-07 17:41:57 +02:00 committed by GitHub
parent 2ce510aef5
commit 87a191f8a1

View File

@ -285,13 +285,11 @@ else
# If the user selected the fast, less hardened version
if [[ "$VARIANT" = '1' ]]; then
echo "set_var EASYRSA_KEY_SIZE 2048
set_var EASYRSA_KEY_SIZE 2048
set_var EASYRSA_DIGEST "sha256"" > vars
fi
# If the user selected the relatively slow, ultra hardened version
if [[ "$VARIANT" = '2' ]]; then
echo "set_var EASYRSA_KEY_SIZE 4096
set_var EASYRSA_KEY_SIZE 4096
set_var EASYRSA_DIGEST "sha384"" > vars
fi
# Create the PKI, set up the CA, the DH params and the server + client certificates