NSX-T Data Center REST API
Import a Certificate Associated with an Approved CSR
Imports a certificate authority (CA)-signed certificate for a CSR. Thisaction links the certificate to the private key created by the CSR. The
pem_encoded string in the request body is the signed certificate provided by
your CA in response to the CSR that you provide to them. After this
operation you can delete the CSR.
Request:
Method:
POST
URI Path(s):
/api/v1/trust-management/csrs/<csr-id>?action=import
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TrustObjectData+
Example Request:
POST https://<nsx-mgr>/api/v1/trust-management/csrs/f1a858e1-fe70-41d0-a53b-32c43cec280f?action=import { "pem_encoded": "-----BEGIN CERTIFICATE-----Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
CertificateList+