Create CA Certificate
POST {{gateway}}/ca_certificates
Create CA Certificate konghq
Request Body
Attributes | Mandatory | Type | Description |
---|---|---|---|
cert | required | body | PEM-encoded public certificate of the CA. |
tags | optional | body | An optional set of strings associated with the Certificate, for grouping and filtering. |
Request Body
{"cert"=>"-----BEGIN CERTIFICATE----------END CERTIFICATE-----", "tags"=>["user-level", "low-priority"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"04fbeacf-a9f1-4a5d-ae4a-b0407445db3f","created_at":1422386534,"cert":"-----BEGIN CERTIFICATE-----...","tags":["user-level","low-priority"]}