---
title: "Create a New DataPlane Certificate"
method: POST
path: "/v1/event-gateways/{gatewayId}/data-plane-certificates"
tags: ["Event Gateway DataPlane Certificates"]
---

# Create a New DataPlane Certificate

`POST /v1/event-gateways/{gatewayId}/data-plane-certificates`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/event-gateways/{gatewayId}/data-plane-certificates`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Create new dataplane certificate to this event gateway. A dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this event gateway.

## Request body

- object
  - `certificate` string, required: JSON escaped string of the certificate.
  - `name` string: The name to identify of the certificate.
  - `description` string: A description of the certificate.

## Response `201`

Created

- EventGatewayDataPlaneCertificate: A dataplane certificate.
  - `id` string, uuid, required: The unique identifier of the certificate.
  - `certificate` string, required: JSON escaped string of the certificate.
  - `name` string: The name to identify of the certificate.
  - `description` string: A description of the certificate.
  - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
  - `metadata` CertificateMetadata: Metadata extracted from a certificate.
    - `issuer` string: The issuer of the certificate.
    - `subject` string: The subject of the certificate.
    - `key_usages` string[]: The key usages of the certificate.
    - `expiry` integer: The expiry date of the certificate as a unix timestamp.
    - `san_names` string[]: The Subject Alternative Names (SAN) of the certificate.
    - `dns_names` string[]: The DNS names in the certificate SAN.
    - `email_addresses` string[]: The email addresses in the certificate SAN.
    - `ip_addresses` string[]: The IP addresses in the certificate SAN.
    - `uris` string[]: The URIs in the certificate SAN.
    - `sha256_fingerprint` string: The SHA-256 fingerprint of the certificate.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-10-15** `7aab863a6daa`: 1 breaking, 2 warning
  - added `#/components/schemas/InvalidParameterMinimumTime, #/components/schemas/InvalidParameterMaximumTime` to the `invalid_parameters/items/` response property `oneOf` list for the response status `400`
  - added the new `key_invalid` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
  - added the new `unique` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2026-09-25** `68d43091b84d`: 3 warning
  - added the new `400.00` enum value to the `status` response property for the response status `400`
  - added the new `403.00` enum value to the `status` response property for the response status `403`
  - added the new `404.00` enum value to the `status` response property for the response status `404`
- **2026-09-18** `f324fb7610e4`: 3 breaking, 24 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `404`
  - removed `#/components/schemas/BaseError, subschema #2` from the response body `allOf` list for the response status `400`
  - …23 more
- **2025-12-03** `581456e3279f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/event-gateways/:gatewayId/data-plane-certificates/post.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/7aab863a6daa?raw)
