Revize 493022a0
Přidáno uživatelem Jan Pašek před asi 4 roky(ů)
src/controllers/certificates_controller.py | ||
---|---|---|
102 | 102 |
|
103 | 103 |
key = KEY_SERVICE.create_new_key() # TODO pass key |
104 | 104 |
|
105 |
if CA not in body: # if issuer omitted (legal)
|
|
105 |
if CA not in body or body[CA] is None: # if issuer omitted (legal) or none
|
|
106 | 106 |
cert = CERTIFICATE_SERVICE.create_root_ca( # create a root CA |
107 | 107 |
key, |
108 | 108 |
subject, |
Také k dispozici: Unified diff
Re #8475 - Connection to the RestAPI