Importing the Root Certificate
This interface is used to import the root certificate.
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/cert_update"
},
"content": {
}
}
Parameter description
The content message is described as follows:
{
"cert_name":"ca_cert_name",
"cert_type":"FDRootCert",
"type":"text",
"content":""
}
Level-1 Resource Name |
Level-2 Resource Name |
Level-3 Resource Name |
Description |
|---|---|---|---|
cert_name |
- |
- |
Meaning: certificate name Type: string Value: a string of 4 to 64 characters. Only uppercase letters, lowercase letters, digits, underscores (_), and periods (.) are allowed. Two consecutive periods (..) are not allowed. |
cert_type |
- |
- |
Meaning: certificate type Type: string Value: FDRootCert |
type |
- |
- |
Meaning: certificate import mode Type: string Value: text (indicating that the value is the certificate content) |
content |
- |
- |
Meaning: content Type: string Value: Base64 code of the certificate content. The maximum length is 20480 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": "cert_update",
"percentage": "100%",
"result": "success",
"reson": "import fd cert success"
}
}
Parent topic: Downstream Message Interfaces