configurable tls-certificate location

This commit is contained in:
ed
2023-04-23 20:56:55 +00:00
parent fdd6f3b4a6
commit a1a8a8c7b5
3 changed files with 32 additions and 13 deletions

View File

@@ -132,7 +132,7 @@ class HttpSrv(object):
self.ssdp = SSDPr(broker)
cert_path = os.path.join(self.E.cfg, "cert.pem")
cert_path = self.args.cert
if bos.path.exists(cert_path):
self.cert_path = cert_path
else: