mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #23959 from gladiatr72/tls_exec_module__create_csr__cert_type_propigation_fix
Oops. Neglected to replace the string, 'server', with cert_type when
This commit is contained in:
commit
97b3f0b114
@ -926,7 +926,7 @@ def create_csr(ca_name,
|
||||
req.get_subject().CN = CN
|
||||
req.get_subject().emailAddress = emailAddress
|
||||
|
||||
extensions = get_extensions('server')['csr']
|
||||
extensions = get_extensions(cert_type)['csr']
|
||||
extension_adds = []
|
||||
|
||||
for ext, value in extensions.items():
|
||||
|
Loading…
Reference in New Issue
Block a user