Change empty_subj to fix openssl issue

This commit is contained in:
mricher 2018-06-27 16:50:26 +02:00
parent 7d6f8f94c4
commit ee60eaec16
No known key found for this signature in database
GPG Key ID: 2E9605443ACB694C

View File

@ -504,7 +504,7 @@ def openssl_installed():
if customize_crt == 'on' and openssl_installed(): if customize_crt == 'on' and openssl_installed():
shell_stat = subprocess.check_call(["which", "openssl"], stdout=FNULL, stderr=subprocess.STDOUT) shell_stat = subprocess.check_call(["which", "openssl"], stdout=FNULL, stderr=subprocess.STDOUT)
empty_subj = "/C=/ST=/L=/O=/CN=/" empty_subj = "/"
private_key_pem = os.path.join(config_dir, "ui", "private_key.pem") private_key_pem = os.path.join(config_dir, "ui", "private_key.pem")
root_crt = os.path.join(config_dir, "registry", "root.crt") root_crt = os.path.join(config_dir, "registry", "root.crt")
create_root_cert(empty_subj, key_path=private_key_pem, cert_path=root_crt) create_root_cert(empty_subj, key_path=private_key_pem, cert_path=root_crt)