Create a Certificate
Create a new certificate. The API will submit a request to create a certificate. In case the work order has manual approvals or other manual intervention needed, those have to be done with respective APIs.
URL: /certificate/create
Type: POST
Parameter
| Param Type | Name | Description | Field Type |
|---|---|---|---|
| Header | sessionId ** | Session ID received after login | String |
| Query | Gwkey | Tenant Key. It is needed only in case of multi-tenant installations | String |
| Query | gwsource** | Source from which the request is triggered (for example, web and external) | String |
| Payload | csrGenerationSource |
How a CSR is generated. Possible values: appviewx, HSM, ENDPOINT, and uploadCSR |
String |
| Payload | certificateGroup | Group to which the certificate has to belong to. | JSON |
| Payload | caConnectorInfo | Info about the CA connector | JSON |
** - Mandatory value
Possible Response Message and Code
| HTTP Code | Description | Response Message |
|---|---|---|
| 400 | Bad request | The group name is not available |
| 202 | Accepted | Certificate submission triggered successfully. |
| 409 | Conflict | CSR parameters already available for the selected CA |