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)