From e0ac51b5c6956017b96b809690fe8a7a49538685 Mon Sep 17 00:00:00 2001 From: giuliof Date: Tue, 19 Dec 2023 22:57:54 +0000 Subject: [PATCH] Updated renew from 180 days to 3 years (1095 days) It is true that the renew system may be automatic, but while it is manual, this reduces the operator's overhead (especially in officina informatica) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f95efbe..07077e9 100644 --- a/main.py +++ b/main.py @@ -260,7 +260,7 @@ def get_gateway_config(fqdn): @app.route("/gateway//renew", methods=["POST"]) @auth.login_required def post_gateway_renew(fqdn): - os.environ["EASYRSA_CERT_EXPIRE"] = "180" # days + os.environ["EASYRSA_CERT_EXPIRE"] = "1095" # days r = os.system("easyrsa renew {} nopass".format(fqdn)) if r != 0: