mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-09 08:10:05 +01:00
Merge pull request #13 from Kcchouette/patch-1
Fix "EASYRSA_KEY_SIZE" x2
This commit is contained in:
commit
e9654ef824
@ -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