查询应用证书详情
接口功能
查询指定三方应用证书的详细情况。
接口格式
操作类型:GET
URL:https://{ip}:{port}/icscertmgnt/v1/subject/application/cert/query
请求参数
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
applicationConfigName |
必选 |
配置名称。 |
匹配正则表达式“^[0-9a-zA-Z-]{1,}$”,总长不超过128个字符的字符串。 |
使用样例
请求样例:
GET https://<ip>:<port>/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 |
证书的序列号。 |
父主题: 证书配置管理服务