Akce
Feature #8705
uzavřenýExtend Rest API endpoint for creating certificates by provided private key/password
Začátek:
2021-04-23
Uzavřít do:
2021-05-02
% Hotovo:
100%
Odhadovaná doba:
4.00hod
Importance:
Tags:
Popis
- 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)
Související úkoly
Akce