CA Certificates

Create a new CA Certificate

Changed on

Create a new CA Certificate

post/v2/control-planes/{controlPlaneId}/core-entities/ca_certificates

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

controlPlaneId, string uuid required
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

The UUID of your control plane. This variable is available in the Konnect manager.

Request body

CACertificate required

A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate.

cert, string required

PEM-encoded public certificate of the CA.

cert_digest, string nullable

SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.

created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

tags, string[] nullable

An optional set of strings associated with the Certificate for grouping and filtering.

updated_at, integer nullable

Unix epoch when the resource was last updated.

Example request

{
  "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
  "cert_digest": "9b8aaf19a276885f6c8a6bc48a30700fdb3a351d8b05374d153bfb7b178e2a9f",
  "created_at": 1706598432,
  "id": "b2f34145-0343-41a4-9602-4c69dec2f260",
  "tags": [
    "trusted",
    "api"
  ]
}

Response

Successfully created CA Certificate

CACertificate required

A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate.

cert, string required

PEM-encoded public certificate of the CA.

cert_digest, string nullable

SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.

created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

tags, string[] nullable

An optional set of strings associated with the Certificate for grouping and filtering.

updated_at, integer nullable

Unix epoch when the resource was last updated.

Example response

{
  "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
  "cert_digest": "9b8aaf19a276885f6c8a6bc48a30700fdb3a351d8b05374d153bfb7b178e2a9f",
  "created_at": 1706598432,
  "id": "b2f34145-0343-41a4-9602-4c69dec2f260",
  "tags": [
    "trusted",
    "api"
  ]
}

Changes

    • info

      the request optional property cert_digest became read-only

    • info

      the response optional property cert_digest became read-only for the status

    • breaking

      the response property tags became nullable for the status

    1 more change in this revision