Certificates
Import certificate
Imports an externally-issued certificate together with its private key, and optionally its CA chain
post/api/certificates/import
Response
Certificate imported successfully
Example response
{
"id": "entity123",
"createdBy": {
"id": "abc123",
"friendlyName": "John Doe (john.doe)"
},
"updatedBy": {
"id": "abc123",
"friendlyName": "John Doe (john.doe)"
},
"createdAt": "2023-10-31T12:34:56.789Z",
"updatedAt": "2023-10-31T12:34:56.789Z",
"name": "Server SSL Certificate",
"description": "SSL certificate for securing server communications",
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBBQUAMEUx...",
"expiry": "2023-10-31T12:34:56.789Z",
"certificateChain": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBBQUAMEUx...\n-----END CERTIFICATE-----"
}