Upload SSL Certificate Private Key


This request uploads the private key of an existing certificate that you import. Use it together with the full chain upload, then install the certificate.

Warning: changing the SSL configuration can break the HTTPS connection with the server.

Resource

PUT /sslcertificates/<OID>/private_key/<filename>

Where OID is the object ID of the SSL certificate and filename is the name of the private key file.

Parameters

None

Payload

The private key file

Response

Success → HTTP 200

Context

Authorization

Administrator

Errors

Example

Request
PUT https://xelion.nl/api/v1/master/sslcertificates/1591405/private_key/license.key
Payload
license.key