Importing a CRL
Function
Imports the CRL chains of the root certificates of the service platform, software repository, and image repository interconnected with MEF Center, and cancels the RESTful request access permission of the interconnected third-party platform with revoked certificates. If this API is called repeatedly, the imported CRL will be updated. After the CRL of the interconnected service platform is imported, you need to manually restart MEF Center for the modification to take effect.
Syntax
Operation type: POST
URL: https://{ip}:{port}/certmanager/v1/crl/import
{
"crlName": crlName,
"crl": crl
}
Request Parameters
Parameter |
Type |
Description |
Value |
|---|---|---|---|
crlName |
String |
Usage of the imported CRL |
|
crl |
String |
Base64-encoded CRL in PEM format |
|
Usage Example
Request:
POST https://10.10.10.10:30035/certmanager/v1/crl/import
{
"crlName": software,
"crl": crl
}
{
"status": "00000000",
"msg": "success"
}
Response status code: 200
Output Description
Parameter |
Type |
Description |
|---|---|---|
status |
String |
Error code |
msg |
String |
Description |