NSX-T Data Center REST API

Apply a certificate for a CertificateProfile

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.

Request:

Method:
POST
URI Path(s):
/api/v1/trust-management/certificates/{cert-id}?action=apply_certificate
Request Headers:
n/a
Query Parameters:
ApplyCertificateParameters+
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

trust_certificates

Additional Errors: