System Administration > Configuration > NSX Managers > Clusters > Cluster Certificate

Set the cluster certificate (Deprecated)

Sets the certificate used for the MP cluster.
This affects all nodes in the cluster. If the certificate used is a CA signed
certificate,the request fails if the whole chain(leaf, intermediate, root)
is not imported.
Deprecated: Please use below APIs.
POST https://<nsx-mgr>/api/v1/trust-management/certificates/?action=apply_certificate&service_type=MGMT_CLUSTER

Request:

Method:
POST
URI Path(s):
/api/v1/cluster/api-certificate?action=set_cluster_certificate
Request Headers:
n/a
Query Parameters:
ClusterCertificateId+
Request Body:
n/a

Example Request:

POST https://<nsx-mgr>/api/v1/cluster/api-certificate?action=set_cluster_certificate&certificate_id=

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ClusterCertificateId+

Example Response:

{ "certificate_id": "d60c6a07-6e59-4873-8edb-339bf75711ac" }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: