Importing the CRL

This interface is used to import the CRL.

Message instance

{
    "header": {
        "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
        "parent_msg_id": "",
        "timestamp": 1550107087319,
        "sync": false
    },
    "route": {
        "source": "EdgeManager",
        "group": "hardware",
        "operation": "update",
        "resource": "websocket/crl_update"
    },
    "content": {
    }
}

Parameter description

The content message is described as follows:

{
    "cert_type":"FDRootCert",
    "type":"text",
    "content":""
}

Level-1 Resource Name

Level-2 Resource Name

Level-3 Resource Name

Description

cert_type

-

-

Meaning: CRL type

Type: string

Value: FDRootCert

type

-

-

Meaning: CRL import mode

Type: string

Value: text (indicating that the value is the CRL content)

content

-

-

Meaning: content

Type: string

Value: Base64 code of the CRL content. The maximum length is 8192 bytes.

Result returned
{
    "header": {
        "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
        "parent_msg_id": "",
        "timestamp": 1550107087319,
        "sync": false
    },
    "route": {
        "source": "EdgeManager",
        "group": "hardware",
        "operation": "update",
        "resource": "websocket/config_result"
    },
    "content": {
        "topic": "crl_update",
        "percentage": "100%",
        "result": "success",
        "reson": "import fd crl success"
    }
}