NSX-T Data Center REST API
Set a certificate as a GM or LM Principal Identity certificate (Deprecated)
Set a certificate that has been imported to be either the principalidentity certificate for the local cluster with either GM or LM service
type.
Currently, the service type specified must match the current service type
of the local cluster.
Deprecated:
Please use below APIs.
POST https://<nsx-mgr>/api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=LOCAL_MANAGER
POST https://<nsx-mgr>/api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=GLOBAL_MANAGER
Request:
Method:
POST
URI Path(s):
/api/v1/trust-management/certificates?action=set_pi_certificate_for_federation
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SetPrincipalIdentityCertificateForFederationRequest+
Example Request:
{ "cert_id": "77c5dc5c-6ba5-4e74-a801-c27dc09be76b", "service_type": "LOCAL_MANAGER" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a