Projekt

Obecné

Profil

Feature #8705

Aktualizováno uživatelem Jan Pašek před téměř 4 roky(ů)

* Rest API shall enable a PEM encoded PK to be specified within the request for creating a certificate. 
 * Rest API shall enable a password to be specified within the request for creating a certificate. 

  * If a password is present in the request and the private key is not present, the server generates a key protected by the given passphrase. 
 
  * If a password is not present in the request and the private key is present, the server uses the given key. However, the server must do a check if the private key is 
    not protected by a passphrase -> if yes, an error response is returned. 

  * If both password and key are not present, the server generates a key without passphrase protection. 

  * If both password and key are present, the server uses the given key and checks whether the given passphrase decyphers the key-> if not an error response is returned. 

 * Certificate usages shall be provided as a list instead of dict. 

 Reviewer: Jan Pašek (shall fix certificate usages in client's request as a part of the review) Stanislav Král

Zpět