System Administration > Configuration > Fabric > Nodes > NSX Manager > Services > HTTP Service

Update http service certificate (Deprecated)

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.
Deprecated: Please use below APIs.
POST https://<nsx-mgr>/api/v1/trust-management/certificates/?action=apply_certificate&service_type=API&node_id=

Request:

Method:
POST
URI Path(s):
/api/v1/cluster/{cluster-node-id}/node/services/http?action=apply_certificate
/api/v1/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: