导入根证书
导入根证书。
消息实例
{ "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": { } }
参数说明
content消息内容描述如下:
{ "cert_name":"ca_cert_name", "cert_type":"FDRootCert", "type":"text", "content":"" }
一级资源名称 |
二级资源名称 |
三级资源名称 |
说明 |
---|---|---|---|
cert_name |
- |
- |
含义:证书名称 类型:string 取值:,长度4~64,只能包含大小写字母、数字、下划线、点,且不能包含.. |
cert_type |
- |
- |
含义:指定证书类型 类型:string 取值:FDRootCert |
type |
- |
- |
含义:导入证书的方式 类型:string 取值:text(表明value值是证书内容) |
content |
- |
- |
含义:内容 类型:string 取值:证书内容的Base64编码,最长20480字节 |
返回结果
{ "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" } }
父主题: 下行消息接口