NSX-T Data Center REST API

Add a New Certificate Revocation List

Adds a new certificate revocation list (CRL). The CRL is used to verify the
client certificate status against the revocation lists published by the CA.
For this reason, the administrator needs to add the CRL in certificate
repository as well.
A CRL can be in the PEM X.509 format (crl_type=X509) or JSON OneCRL
(crl_type=OneCRL).
If crl_type is not specified, it is auto-detected based on the presence of
fields pem_encoded or one_crl.

Request:

Method:
POST
URI Path(s):
/api/v1/trust-management/crls?action=import
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
CrlObjectData+

Example Request:

POST https://<nsx-mgr>/api/v1/trust-management/crls?action=import { "pem_encoded": "-----BEGIN X509 CRL----------END X509 CRL-----\n", "crl_type": "X509", }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
CrlList+

Example Response:

{ "results": [ { "id": "ebd3032d-728e-44d4-9914-d4f81c9972cb", "display_name": "ebd3032d-728e-44d4-9914-d4f81c9972cb", "crl_type": "X509", "resource_type": "crl", "pem_encoded": "-----BEGIN X509 CRL----------END X509 CRL-----\n", "_last_modified_time": 1413386249116, "_create_time": 1413386249116, "_create_user": "admin", "_last_modified_user": "admin", "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

crud

Feature:

trust_crls

Additional Errors: