/certificate/info 接口
证书信息。
请求方式
POST /api/certificate/info
返回数据
{
"status": 0,
"enable": true,
"certificate": {
"subject-name": "/C=CN/ST=GuangDong/L=ShenZhen/O=bolin-av.com/CN=bolin-av.com/emailAddress=av@bolin-av.com",
"issuer-name": "/C=CN/ST=GuangDong/L=ShenZhen/O=Bolin Technology Root CA",
"version": 1,
"serial-num": "C11B50824C53B27C",
"expires": "Mar 25 02:06:25 3022 GMT",
"valid-before": "Nov 22 02:06:25 2022 GMT",
"public-key": "30818902818100ba1e3aff73f880f3bc219f3d6714edb2cf4a4b8fb072cdf55c5058903af7691eeeb4cae6aacb71486b6cb2001e14cb5b9113d52f8db666c87b65465a4a1204976390d33ad42de91597bcab511d6ca9c0b7e3dad4f7584420672102406605eb4a1dcbf9871f85ec412947b27648ee48b03d2af9e8b9f915f534bec99d4d6ed3d70203010001",
"algorithm": "1.2.840.113549.1.1.11",
"type": "EVP_PKEY_RSA"
}
}
属性 | 说明 |
---|---|
status | 0:执行成功。返回其它值请参考 API 状态码。 |