From f761a2f536050b6bdf7165b36461fc61de6d42ff Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 21:46:58 -0800 Subject: [PATCH] Update server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 6b17f05..0ed207b 100644 --- a/server.py +++ b/server.py @@ -42,6 +42,7 @@ def loadcert_backend(): 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.read()) and (open(homefolder + "/certs/" + thisname + "-chain.pem").read() == cert.read()): resp = make_response('The certificate seems to already exist, loading the used file.

Go home

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