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
+
ClusterCertificateId
(
schema
)
Name
Description
Type
Notes
certificate_id
Certificate ID
string
Required
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
+
ClusterCertificateId
(
schema
)
Name
Description
Type
Notes
certificate_id
Certificate ID
string
Required
Example Response:
{ "certificate_id": "d60c6a07-6e59-4873-8edb-339bf75711ac" }
Required Permissions:
crud
Feature:
system_administration
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable