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. The import POST
action automatically deletes the associated CSR.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/infra/csrs/<csr-id>?action=import
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TlsTrustData+
Example Request:
POST https://<policy-mgr>/policy/api/v1/infra/csrs/example-csr-id?action=import { "pem_encoded": "-----BEGIN CERTIFICATE-----Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
TlsCertificate+