NSX-T Data Center REST API
Add a New Certificate
Adds a new private-public certificate or a chain of certificates (CAs) and,optionally, a private key that can be applied to one of the user-facing
components (appliance management or edge). The certificate and the key
should be stored in PEM format. If no private key is provided, the
certificate is used as a client certificate in the trust store.
A private key can be uploaded for a CA certificate only if the "purpose"
parameter is set to "signing-ca".
Request:
Method:
              POST
            URI Path(s):
              
              
                  
                  /api/v1/trust-management/certificates?action=import
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    TrustObjectData+
  Example Request:
POST https://<nsx-mgr>/api/v1/trust-management/certificates?action=import { "pem_encoded": "-----BEGIN CERTIFICATE-----Successful Response:
Response Code:
                201 Created
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    CertificateList+
  