Apply Certificate
Look up the Certificate Profile matching the service-type and apply the certificate. When the Certificate Profile has cluster_certificate=false, the node_id parameter is required to designate the node where the certificate needs to be applied. Note that when applying CA-signed certificates to either the API certificate profile or the MGMT_CLUSTER certificate profile, the cerficate must have its CN or SAN extensions matching the endpoint's IP or FQDN. This also means that applying a CA-signed certificate to the MGMT_CLUSTER service profile to a cluster without first configuring its VIP is not allowed.
ID of certificate to apply
Node Id
Supported service types, that are using certificates.
OK
Bad Request
{
"details": "string",
"error_code": 0,
"error_data": {},
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_data": {},
"error_message": "string",
"module_name": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' https://{api_host}/api/v1/trust-management/certificates/{cert-id}?action=apply_certificate