NSX-T Data Center REST API
Self-Sign the CSR
Self-signs the previously generated CSR. This action is similar to theimport certificate action, but instead of using a public certificate signed
by a CA, the self_sign POST action uses a certificate that is signed with
NSX's own private key.
For validity of non-CA certificates, if a value greater than 825 days is
provided, it will be set to 825 days. No limit is set for CA certificates.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/infra/csrs/<csr-id>?action=self_sign
Request Headers:
n/a
Query Parameters:
SelfSignedActionParameter+
Request Body:
n/a
Example Request:
POST https://<policy-mgr>/policy/api/v1/infra/csrs/example-csr-id?action=self_sign&days_valid=365Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
TlsCertificate+