mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
Remove nopass option for extra security
It is better always to have one extra security level, if someone steal the .ovpn file (like senator's notebook stealled from US Senat for example). So let's create private key passwords by default option.
This commit is contained in:
parent
4f737ac2f8
commit
2fa276fb42
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ else
|
|||
client=$(sed 's/[^0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-]/_/g' <<< "$unsanitized_client")
|
||||
done
|
||||
cd /etc/openvpn/server/easy-rsa/
|
||||
EASYRSA_CERT_EXPIRE=3650 ./easyrsa build-client-full "$client" nopass
|
||||
EASYRSA_CERT_EXPIRE=3650 ./easyrsa build-client-full "$client"
|
||||
# Generates the custom client.ovpn
|
||||
new_client
|
||||
echo
|
||||
|
|
Loading…
Add table
Reference in a new issue