Generate a new key pair and self-signed certificate at the key store
POST /occm/key-store/external-certificate
Generates a new key pair and self-signed certificate at the key store and returns a certificate signing request (CSR).
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
occmCertificate |
string |
True |
|
privateKey |
string |
False |
|
algorithm |
string |
False |
Example request
{
"occmCertificate": "string",
"privateKey": "string",
"algorithm": "string"
}
Error
Status: Default, Default response
| Name | Type | Required | Description |
|---|---|---|---|
publicId |
string |
False |
|
directIssuerName |
string |
False |
|
subjectName |
string |
False |
|
startDate |
integer |
True |
|
endDate |
integer |
False |
|
serialNumber |
string |
False |
|
certificate |
string |
False |
|
certificateType |
string |
False |