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: