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.
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
Example Request:
POST https://<nsx-mgr>/api/v1/trust-management/certificates/9b9250b9-f97f-41b4-8ff2-24ec57855f7b?action=apply_certificate&service_type=API&node_id=4206C988-8227-CEE9-D9AF-1C581AD84A03Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a