更新时间:2024-04-08 GMT+08:00
查询证书列表
功能介绍
查询证书列表。
URI
GET /v1.0/{project_id}/elbaas/certificate
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
项目ID。 |
响应消息
- 响应参数
表2 响应参数 参数
参数类型
描述
certificates
Array
证书列表。
instance_num
String
证书的个数。
表3 certificates字段数据结构说明 参数
参数类型
描述
id
String
证书ID。
name
String
证书名称。
description
String
描述。
domain
String
服务端证书所签域名。
certificate
String
证书内容。
private_key
String
私钥。
create_time
String
创建时间。
update_time
String
更新时间。
- 响应样例
{ "certificates": [ { "name": "cert-bky", "description": "certificate", "domain": null, "certificate": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJANoPUy2NktS6MA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwNjIyMDMyOTU5WhcNMTkwNjIyMDMyOTU5WjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEArmUUhzm5sxxVr/ku4+6cKqnKgZvDl+e/6CNCAq8YMZXTpJP64DjDPny9\n+8s9MbFabEG3HqjHSKh3b/Ew3FXr8LFa9YuWuAi3W9ii29sZsOwmzIfQhIOIaP1Y\nNR50DDjbAGTaxzRhV40ZKSOCkaUTvl3do5d8ttD1VlF2r0w0DfclrVcsS5v3kw88\n9gJ3s3hNkatfQiSt4qLNMehZ8Xofx58DIAOk/f3Vusj3372PsJwKX39cHX/NpIHC\nHKE8qaGCpDqv0daH766eJ065dqO9DuorXPaPT/nxw4PAccb9fByLrTams0ThvSlZ\no6V3yvHR4KN7mmvbViEmWRy+9oiJEwIDA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0xoygrw50v2HErsQ7JcHw==\n-----END RSA PRIVATE KEY-----", "id": "5b8f908b5495452aa13beede0afc5d99", "create_time": "2016-06-27 08:14:42", "update_time": "2016-06-27 08:14:42" } ], "instance_num": "1" }
父主题: 证书管理