Obtaining the Certificate Information of the Integrator

Syntax

Operation type: GET

URL: https://{ip}:{port}/certmanager/v1/certificates/info?certName={certName}

Request Parameters

Table 1 Parameter for obtaining the certificate information of the integrator

Parameter

Mandatory/Optional

Description

Value

certName

Mandatory

Certificate name

Character string. Currently, only north is supported.

Usage Example

Request:

GET https://10.10.10.10:30035/certmanager/v1/certificates/info?certName=north
Response:
{
    "status": "00000000",
    "msg": "success",
    "data": [
    {
        "FingerPrint": "xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx",
        "FingerPrintAlgorithm": "sha256",
        "Issuer": "xxxxxxxxxxxx",
        "SerialNumber": "xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx",
        "Subject": "xxxxxxxxxxxx",
        "Validity": 
        {
              "NotAfter": "2033-03-31 08:41:58",
              "NotBefore": "2023-04-03 08:41:58"
         }
     }
     ]
}

Response status code: 200

Output Description

Table 2 Operation output description

Parameter

Type

Description

status

String

Error code

msg

String

Description

data

Object

Certificate information of the integrator

Table 3 data field description

Parameter

Type

Description

FingerPrint

String

Certificate fingerprint

FingerPrintAlgorithm

String

Certificate fingerprint algorithm

Issuer

String

Authority that issues a certificate

SerialNumber

String

Certificate SN

Subject

String

Certificate holder

Validity

Object

Certificate validity. The value includes NotBefore and NotAfter.

NotAfter

String

End time of the validity period

NotBefore

String

Start time of the validity period