ListCertificates - 認證列表
擷取認證列表
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Keyword |
string |
否 |
模糊查詢,匹配網域名稱、名稱和對應的資源 ID。 |
test |
| InstanceId |
string |
否 |
執行個體的 ID。 |
cas-ivauto-hqito6 |
| CertificateStatus |
string |
否 |
認證的狀態
|
issued |
| CertificateSource |
string |
否 |
認證來源。
|
BUY |
| ResourceGroupId |
string |
否 |
資源群組 id。 |
rg-aek****wia |
| ShowSize |
integer |
否 |
分頁資料,預設為 10,最大為 100。 |
10 |
| CurrentPage |
integer |
否 |
當前頁的頁碼。 |
1 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。 |
CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D |
| TotalCount |
integer |
總記錄數。 |
10 |
| ShowSize |
integer |
分頁資料。 |
10 |
| CurrentPage |
integer |
分頁。當前頁,預設 1。 |
1 |
| CertificateList |
array<object> |
認證顯示列表。 |
|
|
object |
認證資訊。 |
||
| InstanceId |
string |
認證執行個體 ID。 |
cas-cn-v*** |
| Algorithm |
string |
認證的密碼編譯演算法類型。取值:
|
RSA |
| CertificateStatus |
string |
認證的狀態
|
issued |
| Domain |
string |
認證綁定的網域名稱,多個網域名稱逗號分隔。 |
test.com |
| CertificateId |
string |
認證 ID。 |
17281539 |
| CertificateName |
string |
認證名稱。 |
test |
| CertIdentifier |
string |
全域認證 ID,格式為認證 Id + "-" + 網站 regionId,常用在阿里雲各個雲產品中。
例如認證 Id = 123,則國內站 CertIdentifier = “123-cn-hangzhou”,國際站 CertIdentifier = "123-ap-southeast-1"。 |
21589515-cn-hangzhou |
| CommonName |
string |
認證通用名稱。 |
aliyun.com |
| SubjectAlternativeNames |
array |
數組格式,返回認證的備用網域名稱列表,對應認證的 |
|
|
string |
認證的備用網域名稱。 |
test.com |
|
| CertificateSource |
string |
認證來源。
|
BUY |
| NotBefore |
integer |
認證有效期間的開始時間。 |
1760745600000 |
| NotAfter |
integer |
認證有效期間的截止時間。 |
1749580567000 |
| KeySize |
integer |
密鑰演算法長度。
|
2048 |
| FingerPrint |
string |
公開金鑰指紋。 |
123 |
| Serial |
string |
認證序號。 |
123 |
| Issuer |
string |
憑證授權單位。 |
DigiCert |
| ExistPrivateKey |
boolean |
認證是否存在私密金鑰。取值:
|
true |
| UsingProductList |
array |
當前認證正在部署的雲產品列表。 |
|
|
string |
雲產品。 |
CDN |
樣本
正常返回樣本
JSON格式
{
"RequestId": "CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D",
"TotalCount": 10,
"ShowSize": 10,
"CurrentPage": 1,
"CertificateList": [
{
"InstanceId": " cas-cn-v***",
"Algorithm": "RSA",
"CertificateStatus": "issued",
"Domain": "test.com",
"CertificateId": "17281539",
"CertificateName": "test",
"CertIdentifier": "21589515-cn-hangzhou",
"CommonName": "aliyun.com",
"SubjectAlternativeNames": [
"test.com"
],
"CertificateSource": "BUY",
"NotBefore": 1760745600000,
"NotAfter": 1749580567000,
"KeySize": 2048,
"FingerPrint": "123",
"Serial": "123",
"Issuer": "DigiCert",
"ExistPrivateKey": true,
"UsingProductList": [
"CDN"
]
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。