查询指定三方应用证书的详细情况。
操作类型:GET
URL:https://{ip}:{port}/icscertmgnt/v1/subject/application/cert/query
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
applicationConfigName |
必选 |
配置名称。 |
匹配正则表达式“^[0-9a-zA-Z-]{1,}$”,总长不超过128个字符的字符串。 |
请求样例:
GET https://10.44.115.99:8101/icscertmgnt/v1/subject/application/cert/query?applicationConfigName=minioconfig1
{ "status": "00000000", "msg": "query application cert success !" "data": { "certId": "1234-4567-8901-2345", "issuer": "xxx", "subject": "xxx", "notBeforeTime": "", "notAfterTime": "", "serialNumber": 5 } }
响应状态码:200
参数 |
类型 |
说明 |
---|---|---|
status |
string |
状态码。 |
msg |
string |
状态描述。 |
data |
dict |
证书信息结构体。 |
data.certId |
uuid |
证书的UUID。 |
data.issuer |
string |
证书的签发者。 |
data.subject |
string |
证书的使用者。 |
data.notBeforeTime |
string |
证书生效时间。 |
data.notAfterTime |
string |
证书过期时间。 |
data.serialNumber |
string |
证书的序列号。 |