v1

latestOpenAPI 3.1.22026-08-0611530152.3 KB
Custom Certificate

Upload your own certificate to the server.

Uploads the certificate to the servers in your cluster.

Note: The listeners on your servers will be restarted in order to apply the changes. This will close your current connections.

post/custom-cert

Request body

private_keystring textarea required

The PEM-encoded private key corresponding to the certificate.

certstring textarea required

The PEM-encoded server certificate.

castring textarea required

The PEM-encoded Certificate Authority (CA).

Example request

{
  "private_key": "-----BEGIN PRIVATE KEY-----\nMIICXAIBAK...\n-----END PRIVATE KEY-----\n",
  "cert": "-----BEGIN CERTIFICATE-----\nMIID5TCCAs2gAwIBAg...\n-----END CERTIFICATE-----\n",
  "ca": "-----BEGIN CERTIFICATE-----\nMIIDQzCCAiugAwIBAg...\n-----END CERTIFICATE-----\n"
}

Response

Certificate upload started.

job_idstring uuid

Job ID to track the certificate upload.

messagestring