System Administration > Configuration > NSX Managers > Nodes > Services > Http Service

Update http service certificate

Applies a security certificate to the http service. In the POST request,
the CERTIFICATE_ID references a certificate created with the
/api/v1/trust-management APIs. 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/node/services/http?action=apply_certificate
/api/v1/transport-nodes/<transport-node-id>/node/services/http?action=apply_certificate
/api/v1/cluster/<cluster-node-id>/node/services/http?action=apply_certificate
Request Headers:
n/a
Query Parameters:
CertificateId+
Request Body:
n/a

Example Request:

POST https://<nsx-mgr>/api/v1/node/services/http?action=apply_certificate &certificate_id=$CERTIFICATE_ID$ (NOTE: remove line break)

Successful Response:

Response Code:
202 Accepted
Response Headers:
n/a
Response Body:
n/a

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

Required Permissions:

crud

Feature:

system_administration

Additional Errors: