Create Certificate with PKCS7 or PEM File

POST {{apiPath}}/environments/{{envID}}/certificates

The POST /environments/{{envID}}/certificates operation creates a new certificate resource for the specified environment. It creates a certificate from an upload of a PKCS7 or PEM file with public and trust certificates. Properties returned in the response are parsed from the uploaded file.

The response returns a 202 Accepted message and shows the certificate data parsed from the uploaded certificate file.

Prerequisites

Request Body

[{"name"=>"usageType", "value"=>"SIGNING", "datatype"=>"string"}, {"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring