1
0

fix ssl config names, add new config tab

This commit is contained in:
ThomasV
2019-09-05 11:36:50 +02:00
parent 466c2bd293
commit 94e7e94e2f
2 changed files with 10 additions and 8 deletions

View File

@@ -422,8 +422,8 @@ def verify_cert_chain(chain):
def check_ssl_config(config):
from . import pem
key_path = config.get('ssl_privkey')
cert_path = config.get('ssl_chain')
key_path = config.get('ssl_keyfile')
cert_path = config.get('ssl_certfile')
with open(key_path, 'r', encoding='utf-8') as f:
params = pem.parse_private_key(f.read())
with open(cert_path, 'r', encoding='utf-8') as f: