接口功能介绍
获取证书详情
接口约束
1.已有证书管理服务资源
2.已上传证书
URI
POST /v1/certificate/detail
路径参数
无
Query参数
无
请求参数
请求头header参数
无
请求体body参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
id | 是 | String | 资源 id | e736f6cd1649442893d7b205fe7d95de |
响应参数
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
statusCode | Integer | 状态码 | 200 | |
message | String | 提示信息 | Success | |
returnObj | Object | 返回数据结构体 | CertificateDetail | |
error | String | 错误码,仅错误时返回 | CCMS_100000063 |
表 CertificateDetail
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
workOrderNo | String | 工单号 | 20240719152808491958 | |
resourceId | String | 资源id | e736f6cd1649442893d7b205fe7d95de | |
brand | String | 品牌方 | TRUSTASIA | |
origin | String | 证书来源 | PURCHASE | |
type | String | 证书种类 | OV | |
certificateId | String | 证书id | aHz0Djw7 | |
status | String | 证书当前状态 | REVOKEAUDITING | |
fingerprint | String | 证书指纹 | 45324B2FD17DBAA0808FFFE6547D2E83DD5ACD52 | |
issueTime | String | 证书签发时间 | 2024-07-19T08:00:00Z | |
expireTime | String | 证书过期时间 | 2025-07-19T08:00:00Z | |
serviceBeginTime | String | 服务开始时间 | 2024-07-19T00:00:00Z | |
serviceEndTime | String | 服务结束时间 | 2025-07-19T00:00:00Z | |
domainType | String | 域名类型 | WILDCARD | |
domainName | String | 域名 | *.test.cn | |
singleDomainNum | Integer | 单域名数量 | 0 | |
wildcardDomainNum | Integer | 通配符域名数量 | 1 | |
orderingDurationUnit | Integer | 购买时长单位 | 5 | |
orderingDurationValue | Integer | 购买时长 | 1 | |
encryptionStandard | String | 加密标准类型 | INTERNATIONAL | |
encryptionAlgorithm | String | 加密算法 | RSA | |
csrId | String | CSR id | 51951c6edfe64caf9f7c6f95d59fb840 | |
csr | String | CSR证书签名请求 | -----BEGIN CERTIFICATE REQUEST-----MIIC1TCCAb0CAQAwaDELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCeWkqea0peW4gjESMBAGA1UEBwwJ5aSp5rSl5biCMRAwDgYDVQQDDAd0ZXN0LmNuMQ0wCwYDVQQKDARhYWFhMRAwDgYDVQQLDAdzZGFkcXdkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs7inXHHqxxamBtnYMVM+7XBsbdFgddeEE/cU85N/+D/1RfSGp6cy/KV1UnT7+irDbaWDDUiY+tLrB/ndaKFkpTomqEkItAcXmSVcMcJ7TppClo6WukaWv/qzcg+tLFOWbQmwrgziNg4M1Z2fyCGOCyy/Tzq5++rREwqXwMTP+uUOZDTxiODEmt7vBtNs/S50GD8ymGs8JiGkL2F2+Og1B59aJt6h3i9OBPRmpcKJslDRSxyVS5GBvoju6NdGyJMKeSIUicuvKWe8j4AbQls8secptMplXKaBtWgU0VU97aw61UfOe8EBQA/sKwHu20oXLznLa0+BVPHcoMTOm+qnjQIDAQABoCgwJgYJKoZIhvcNAQkOMRkwFzAVBgNVHREBAf8ECzAJggdhYmMuY29tMA0GCSqGSIb3DQEBCwUAA4IBAQCaFI8SRhplNAjTWnz9QjOBJJUV1EfVedIWC8C4TiguZDQa3uYjUkFYdX3lEzNYBhAUeYyJGqNZ2qM8v8HJ1cm+FTGaWrqcaJIWsdRSLRTVVkt0svqe0HzWtBQYlkUa+GrY9qZ+XmNoE6nbeLtUrz/6y4yFKHiZsztqIXH4VdI6KQ4WiXPE16ZMPdziN6AXNmcu+8o6PpF9P7yenMUq05lIFQ174M8wzWX1r7GiD/ren3tJLJ3W4FK/CtdAC/TR95IFkZr4eMf25LZeAPmsagmeSUus2WynqPr+XRgZCOOgkb1meV5XwUIwqgXifvSZoiFCLqcv8IObP5FiphJf13tU-----END CERTIFICATE REQUEST----- | |
companyId | String | 公司id | aaf7148728a613aef96a5b9944291657 | |
contactId | String | 联系人id | 34a97e72db3cad6b6dd1841233314698 | |
contactName | String | 联系人名称 | 李四 | |
firstName | String | 第一位名称 | 李 | |
lastName | String | 第二位名称 | 四 | |
String | 邮箱地址 | sss@qq.com | ||
telephone | String | 联系电话 | 131****5555 |
枚举参数
无
请求示例
请求url
无
请求头header
无
请求体body
{
"id": "e736f6cd1649442893d7b205fe7d95de"
}
响应示例
{
"statusCode": 200,
"message": "Success",
"returnObj": {
"workOrderNo": "20240719152808491958",
"resourceId": "e736f6cd1649442893d7b205fe7d95de",
"brand": "TRUSTASIA",
"origin": "PURCHASE",
"type": "OV",
"certificateId": "aHz0Djw7",
"status": "REVOKEAUDITING",
"fingerprint": "45324B2FD17DBAA0808FFFE6547D2E83DD5ACD52",
"issueTime": "2024-07-19T08:00:00Z",
"expireTime": "2025-07-19T08:00:00Z",
"serviceBeginTime": "2024-07-19T00:00:00Z",
"serviceEndTime": "2025-07-19T00:00:00Z",
"domainType": "WILDCARD",
"domainName": "*.test.cn",
"singleDomainNum": 0,
"wildcardDomainNum": 1,
"orderingDurationUnit": 5,
"orderingDurationValue": 1,
"encryptionStandard": "INTERNATIONAL",
"encryptionAlgorithm": "RSA",
"csrId": "51951c6edfe64caf9f7c6f95d59fb840",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICqjCCAZICAQAwZTELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCeWMl+S6rOW4gjES\nMBAGA1UEBwwJ5YyX5Lqs5biCMRIwEAYDVQQDDAkqLnRlc3QuY24xDDAKBgNVBAoM\nA3FhYTEMMAoGA1UECwwDc3NzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\nAQEAmQ+XUtzEKkXKnfdw6nQKWeOaA+1JHjZk8xPndzcNxTwcbeqGshmmTL9JYa6g\nimyhT/c+0WkZpqd40XAu3snHi3Ad6dVNdEoWzg4HqfOOr8m4eiy5fuLDmOfJzj5x\nU11xhUe0AZlHxGfu2QvR2pR5lkzoi8kB0phZcBBQBXUMjAzC6GGXLSucwey8VLJO\nD9gkzBd4R4SD+KXJMM3McZvdaooiaJxUsW9H2GeJnHmGV9l+pF94X4XmcCCDIn05\nuOsYSonqJIR9Va+r/KMefDSH1+ekauoy2R+VD/RDDRo74+g2zwTW9/ezbp7S/zTX\n+wk4cbvK8N+vbbEfjX5FUanycwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBABtJ\n/fQC+NmvWfogu0g3ewBIGs06KmkSGTQcoEqdToAGjlp62NVcO0JJJX6l11d5sFYm\n27BllGFUVctH1JV7O7CwNOBuVhOF3Hgf5ytESloV1gg5DI55Tiad+iYvYfS0sjnP\n2m+dAalF64Tv1SktUKhkw3Z9Oxwf9l6y5P3781vR9Lsf1yFX2KbbTA14PgZBJbg7\nv7d+Z89nBDgtw7bcdBbKETGX3jvFZW79z/8gFCvgEQgMbqBcfFjplibX/WD0l6GY\nqG5U4KGZjLOHlDj6e0SXsdcnr4U+pQuRxahut9BJT/4aIPLI06WNORIQke27PvOh\nAsT0g4IbEU9o0JwXsak=\n-----END CERTIFICATE REQUEST-----\n",
"companyId": "aaf7148728a613aef96a5b9944291657",
"contactId": "34a97e72db3cad6b6dd1841233314698",
"contactName": "ab",
"firstName": "a",
"lastName": "b",
"email": "sss@qq.com",
"telephone": "131****5555"
}
}
状态码
请参考 状态码
错误码
请参考 错误码