From a8165546a33404c320c076847b397d635ea8a818 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 21:50:43 -0800 Subject: [PATCH] Update server.py --- server.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/server.py b/server.py index a653820..426702b 100644 --- a/server.py +++ b/server.py @@ -39,9 +39,6 @@ def loadcert_backend(): if allowed_file(cert.filename) and allowed_file(privkey.filename): for i in os.listdir(homefolder + "/certs/"): thisname = "-".join(i.split("-")[:-1]) - print(thisname) - print(homefolder + "/certs/" + thisname + "-privkey.pem") - print([open(homefolder + "/certs/" + thisname + "-privkey.pem").read()]) if (open(homefolder + "/certs/" + thisname + "-privkey.pem").read() == privkey) and (open(homefolder + "/certs/" + thisname + "-chain.pem").read() == cert): resp = make_response('The certificate seems to already exist, loading the used file.

Go home

') resp.set_cookie('certname',thisname)