mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use signing passphrase as public passphrase when generating self-signed certificates
This commit is contained in:
parent
f94b8798b6
commit
c8697e38a8
1 changed files with 3 additions and 0 deletions
|
@ -1417,6 +1417,9 @@ def create_certificate(
|
|||
# If neither public_key or csr are included, this cert is self-signed
|
||||
if 'public_key' not in kwargs and 'csr' not in kwargs:
|
||||
kwargs['public_key'] = kwargs['signing_private_key']
|
||||
if 'signing_private_key_passphrase' in kwargs:
|
||||
kwargs['public_key_passphrase'] = kwargs[
|
||||
'signing_private_key_passphrase']
|
||||
|
||||
csrexts = {}
|
||||
if 'csr' in kwargs:
|
||||
|
|
Loading…
Add table
Reference in a new issue