Reporting the Root Certificate Information for Connecting to FusionDirector

The FusionDirector initiates a query request to query the root certificate information for connection, and MindEdge OM responds to the query request. The FusionDirector root certificate information is carried in the response packet.

Message instance

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

Parameter description

The content message is described as follows:

{
    "root_certificate":{
        "cert_is_full": true/false,
        "cert_lists":[{
            "cert_type":"FDRootCert",
            "cert_name":"",
            "issuer":"CN=xxx.ca.com, OU=IT, O=xxx, L=ShenZhen, S=GuangDong, C=CN",
            "subject":"CN=xxx.ca.com, OU=IT, O=xxx, L=ShenZhen, S=GuangDong, C=CN",
            "valid_not_before":"Jan 07 2017 GMT",
            "valid_not_after":"Jan 05 2027 GMT",
            "serial_number":"ff ff ff ff ff ff ff ff",
            "is_import_crl":false,
            "signature_algorithm":"sha256WithRSAEncryption",
            "fingerprint":"ffffffffffffffffffffffffff",
            "key_usage":"Signing, CRL Sign",
            "public_key_length_bits":2048
        }]
    }
}

Elements are defined as follows:

Level-1 Resource Name

Level-2 Resource Name

Level-3 Resource Name

Description

root_certificate

-

-

Meaning: root certificate information

Type: array

-

cert_is_full

-

Meaning: whether the number of imported certificates reaches the maximum

Type: bool

Value: True or False

-

cert_lists

-

Meaning: certificate list information

Type: list

-

-

cert_type

Meaning: certificate type

Type: string

Value: FDRootCert

-

-

cert_name

Meaning: certificate name

Type: string

Value: 4 to 64 bytes

-

-

issuer

Meaning: certificate issuer

Type: string

Value: 256 bytes

-

-

subject

Meaning: certificate user

Type: string

Value: 256 bytes

-

-

valid_not_before

Meaning: start date of the validity period

Type: string

Value: 256 bytes

-

-

valid_not_after

Meaning: end date of the validity period

Type: string

Value: 256 bytes

-

-

serial_number

Meaning: certificate serial number

Type: string

Value: 256 bytes

-

-

is_import_crl

Meaning: whether to configure the CRL

Type: bool

Value:
  • true: The CRL has been configured.
  • false: No CRL is configured.

-

-

signature_algorithm

Meaning: signature algorithm

Type: string

Value: 256 bytes

-

-

fingerprint

Meaning: fingerprint information

Type: string

Value: 1024 bytes

-

-

key_usage

Meaning: key usage

Type: string

Value: 256 bytes

-

-

public_key_length_bits

Meaning: length of the public key

Type: string

Value: 256 bytes