mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-16 15:25:18 +01:00
Change empty_subj to fix openssl issue
This commit is contained in:
parent
7d6f8f94c4
commit
ee60eaec16
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user