MarkLogic 10 Product Documentation
PUT /manage/v2/certificate-revocation-listsSummary
This resource address inserts a PEM- or DER-encoded Certificate Revocation List
(CRL) into the security database.
URL Parameters |
url |
If this parameter is CRL , the request
body contains the PEM- or DER-encoded Certificate Revocation List (CRL). If
URL , the request body contains the URL from which the CRL was downloaded.
|
Request Headers |
Accept |
The expected MIME type of the request body. If
the format? parameter is present, it takes precedence over the Accept header. |
Content-type |
The MIME type of the data in the request
body. Depending upon the value of the format parameter or Accept header, one of
application/xml , application/json , or text/html .
|
Response
Upon success, MarkLogic Server returns status code 204 (No content). A status
code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
Required Privileges
This operation requires one of the following:
- the
manage-admin
and security
role
- the following privileges:
http://marklogic.com/xdmp/privileges/manage
http://marklogic.com/xdmp/privileges/manage-admin
http://marklogic.com/xdmp/privileges/get-user
Usage Notes
The request body consists of one or more URLs or a Certificate Revocation List.
Example
curl -X PUT --anyauth --user admin:admin --header "Content-Type:text/html" \
-d "http://crl.verisign.com/pca3.crl" \
http://localhost:8002/manage/v2/certificate-revocation-lists?url=url
=> Adds crl.verisign.com to the CRL.
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.