make keys last 10 years instead of 3
authorIan Kelling <iank@fsf.org>
Mon, 18 Dec 2023 21:02:08 +0000 (16:02 -0500)
committerIan Kelling <iank@fsf.org>
Mon, 18 Dec 2023 21:02:08 +0000 (16:02 -0500)
vpn-server-setup

index a4b203bb7e6371021c1d40540df76e43377491a8..0f2670f702f8cf0352ce278cbcf1667ce799a7a3 100755 (executable)
@@ -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