mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 16:59:03 +01:00
Update openvpn-install.sh
This commit is contained in:
parent
2ce510aef5
commit
87a191f8a1
@ -285,13 +285,11 @@ else
|
|||||||
# If the user selected the fast, less hardened version
|
# If the user selected the fast, less hardened version
|
||||||
if [[ "$VARIANT" = '1' ]]; then
|
if [[ "$VARIANT" = '1' ]]; then
|
||||||
echo "set_var EASYRSA_KEY_SIZE 2048
|
echo "set_var EASYRSA_KEY_SIZE 2048
|
||||||
set_var EASYRSA_KEY_SIZE 2048
|
|
||||||
set_var EASYRSA_DIGEST "sha256"" > vars
|
set_var EASYRSA_DIGEST "sha256"" > vars
|
||||||
fi
|
fi
|
||||||
# If the user selected the relatively slow, ultra hardened version
|
# If the user selected the relatively slow, ultra hardened version
|
||||||
if [[ "$VARIANT" = '2' ]]; then
|
if [[ "$VARIANT" = '2' ]]; then
|
||||||
echo "set_var EASYRSA_KEY_SIZE 4096
|
echo "set_var EASYRSA_KEY_SIZE 4096
|
||||||
set_var EASYRSA_KEY_SIZE 4096
|
|
||||||
set_var EASYRSA_DIGEST "sha384"" > vars
|
set_var EASYRSA_DIGEST "sha384"" > vars
|
||||||
fi
|
fi
|
||||||
# Create the PKI, set up the CA, the DH params and the server + client certificates
|
# Create the PKI, set up the CA, the DH params and the server + client certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user