mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
tls module: default CA filename should be only used when it is not None
This commit is contained in:
parent
adb4e5ecff
commit
060e59f4e0
@ -1216,7 +1216,8 @@ def create_ca_signed_cert(ca_name,
|
||||
|
||||
set_ca_path(cacert_path)
|
||||
|
||||
ca_filename = '{0}_ca_cert'.format(ca_name)
|
||||
if not ca_filename:
|
||||
ca_filename = '{0}_ca_cert'.format(ca_name)
|
||||
|
||||
if not cert_path:
|
||||
cert_path = '{0}/{1}/certs'.format(cert_base_path(), ca_name)
|
||||
|
Loading…
Reference in New Issue
Block a user