Cosmic Admin API Reference
uploadCustomCertificate
Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.
Request parameters
Parameter Name | Description | Required |
certificate | The certificate to be uploaded. | true |
domainsuffix | DNS domain suffix that the certificate is granted for. | true |
id | An integer providing the location in a chain that the certificate will hold. Usually, this can be left empty. When creating a chain, the top level certificate should have an ID of 1, with each step in the chain incrementing by one. Example, CA with id = 1, Intermediate CA with id = 2, Site certificate with ID = 3 | false |
name | A name / alias for the certificate. | false |
privatekey | The private key for the attached certificate. | false |
Response Tags
Response Name | Description |
message | message of the certificate upload operation |