- 请求方式:GET
- 请求路径:/v1/cert/query
Query参数
name | string | 证书备注名 | 是 |
响应Json参数
code | int | 状态码 | 状态码 |
message | string | 描述信息 | 描述信息 |
cn | string | 证书通用名称 | |
created | int | 证书创建时间 | 时间戳,秒 |
name | string | 证书备注名称 | |
expires | int | 证书过期时间 | 时间戳,秒 |
issue | int | 证书颁发时间 | 时间戳,秒 |
issuer | string | 证书颁发机构 | |
sans | list | 证书绑定的域名 | |
certs | string | 证书公钥信息 | PEM格式 |
key | string | 证书私钥信息 | PEM格式 |
示例
请求文档
{ "name": "test" }
响应文档
{ "result": { "expires": 1606478400, "issue": 1574899200, "created": 1594710728, "name": "test", "cn": "xxxxx.com", "certs": "xxxx", "issuer": "DigiCert Inc", "key": "xxxx" }, "code": 100000, "message": "success" }