NSX-T Data Center REST API
Generate a New Certificate Signing Request
Creates a new certificate signing request (CSR). A CSR is encrypted text thatcontains information about your organization (organization name, country,
and so on) and your Web server's public key, which is a public certificate
the is generated on the server that can be used to forward this request to a
certificate authority (CA). A private key is also usually created at the
same time as the CSR.
Request:
Method:
              POST
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/csrs/<csr-id>?action=create
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    TlsCsr+
  Example Request:
POST https://<policy-mgr>/policy/api/v1/infra/csrs/example-csr-id?action=create { "subject": { "attributes": [ {"key":"CN","value":"Jane"}, {"key":"O","value":"VMware"}, {"key":"OU","value":"NSBU"}, {"key":"C","value":"US"}, {"key":"ST","value":"CA"}, {"key":"L","value":"PA"} ] }, "key_size": "2048", "algorithm": "RSA", "is_ca": false }Successful Response:
Response Code:
                201 Created
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    TlsCsr+
  