X-Git-Url: https://iankelling.org/git/?p=vpn-setup;a=blobdiff_plain;f=vpn-server-setup;h=0f2670f702f8cf0352ce278cbcf1667ce799a7a3;hp=a4b203bb7e6371021c1d40540df76e43377491a8;hb=73e9a029aef15f4135a9ed79d334cc7dde68227e;hpb=9705b4c46b7fa37a49fce9353ceda433a179244e diff --git a/vpn-server-setup b/vpn-server-setup index a4b203b..0f2670f 100755 --- a/vpn-server-setup +++ b/vpn-server-setup @@ -143,7 +143,7 @@ if ! $keys_exist; then echo 'set_var EASYRSA_NS_SUPPORT "yes"' >vars ./easyrsa init-pki ./easyrsa --batch build-ca nopass - ./easyrsa build-server-full $name nopass + ./easyrsa --days=3650 build-server-full $name nopass else # dun care about settning cert cn etc from the non-example values source vars