NSX-T Data Center REST API
Upload the Certificate PEM File Signed by the CA Associated with a CSR
Uploads the certificate authority (CA)-signed certificate. After you sendthe certificate request to the CA of your choice, and the CA sends back the
signed certificate, you can use the upload POST action to upload the signed
certificate. The upload action is similar to the import action, but the
upload action allows you to directly upload the PEM-encoded file (signed
certificate) provided by the CA. After this operation you can delete the CSR.
Request:
Method:
POST
URI Path(s):
/api/v1/trust-management/csrs/<csr-id>?action=upload
Request Headers:
n/a
Query Parameters:
PemFile+
Request Body:
n/a
Example Request:
POST "https://<nsx-mgr>/api/v1/trust-management/csrs/9428509b-badb-495a-8f8d-2b615be5837f?action=upload" (with -H "Content-Type: multipart/form-data" -F file=@signed_cert_file.pem)Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
CertificateList+