NSX-T Data Center REST API
Create or fully replace a Certificate Revocation List
Create or replace a Certificate Revocation List for the given id. The CRL is used toverify 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.
The CRL must contain PEM data for a single CRL. Revision is required.
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:
PUT
URI Path(s):
/policy/api/v1/infra/crls/<crl-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TlsCrl+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/crls/revokedCerts { "display_name": "Revoked Certificates", "pem_encoded": "-----BEGIN X509 CRL-----Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TlsCrl+