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

Set the cluster certificate

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.

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: