UploadServerCertificate

GET /?Action=UploadServerCertificate
Description

Uploads a server certificate and its matching private key.
These elements can be used with other services (for example, to configure SSL termination on load balancers).
You can also specify the chain of intermediate certification authorities if your certificate is not directly signed by a root one. You can specify multiple intermediate certification authorities in the CertificateChain parameter. To do so, concatenate all certificates in the correct order (the first certificate must be the authority of your certificate, the second must the the authority of the first one, and so on).

The private key must be a RSA key in PKCS1 form. To check this, open the PEM file and ensure its header reads as follows: BEGIN RSA PRIVATE KEY.

Important

This private key must not be protected by a password or a passphrase.

Body parameter

Required: false
Name: UploadServerCertificateRequest

Name Description Required Schema Default Example

CertificateBody

The PEM-encoded X509 certificate.

true

string

CertificateChain

The PEM-encoded intermediate certification authorities.

false

string

Path

The path to the server certificate, set to a slash (/) if not specified.

false

string

PrivateKey

The PEM-encoded private key matching the certificate.

true

string

ServerCertificateName

A unique name for the certificate.
Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

UploadServerCertificateResponse

Response 200

Response 200

Name Description Required Schema Default Example

ResponseMetadata

Information about the response.

false

ResponseMetadata

ServerCertificateMetadata

The metadata of the uploaded certificate.

false

ServerCertificateMetadata