Fixing an issue were extensions were implicitly required
This commit is contained in:
parent
3df50f15f7
commit
a07db5625b
|
@ -320,6 +320,7 @@ def create_csr(csr_config):
|
|||
x509.BasicConstraints(ca=False, path_length=None), critical=True,
|
||||
)
|
||||
|
||||
if csr_config.get('extensions'):
|
||||
for k, v in csr_config.get('extensions', {}).items():
|
||||
if k == 'subAltNames':
|
||||
# map types to their x509 objects
|
||||
|
|
Loading…
Reference in New Issue