diff --git a/server.py b/server.py index 4e8cffd..171ab94 100644 --- a/server.py +++ b/server.py @@ -36,6 +36,7 @@ def loadcert_backend(): privkey = request.files['privkey'] if cert.filename == '' or privkey.filename == '': return "Please upload a certificate and private key." + print(cert.read()) if allowed_file(cert.filename) and allowed_file(privkey.filename): for i in os.listdir(homefolder + "/certs/"): thisname = "-".join(i.split("-")[:-1])