擷取網關認證列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
mse:ListSSLCert |
get |
*Gateway
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| GatewayUniqueId |
string |
是 |
網關唯一標識 ID。 |
gw-3f97e2989c344f35ab3fd62b19f1**** |
| CertName |
string |
否 |
按認證名稱模糊搜尋 |
certabc |
| AcceptLanguage |
string |
否 |
返回資訊的語言類型:
|
zh |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
資料結構。 |
||
| RequestId |
string |
請求 ID。 |
CAA9A229-141D-5FBA-AC5C-516C02026A11 |
| HttpStatusCode |
integer |
HTTP 狀態代碼。 |
200 |
| Message |
string |
錯誤資訊。 |
You are not authorized to perform this operation. |
| Code |
integer |
狀態代碼,200 表示返回成功。 |
200 |
| Success |
boolean |
請求結果,取值如下:
|
true |
| Data |
array |
返回資料。 |
|
|
object |
資料結構。 |
||
| CertIdentifier |
string |
認證 ID。 |
1234 |
| CertName |
string |
認證名稱。 |
test.com |
| CommonName |
string |
綁定網域名稱。 |
*.test.com |
| Sans |
string |
SSL 憑證。 |
SSL |
| BeforeDate |
string |
認證生效時間(Unix 毫秒時間戳記)。 |
1694503184803 |
| AfterDate |
string |
認證到期時間(Unix 毫秒時間戳記)。 |
1726039184803 |
| Algorithm |
string |
演算法。 |
test |
| Issuer |
string |
頒發者。 |
test |
| GmtBefore |
string |
認證生效時間(GMT 時間戳記)。 |
2023-09-12T07:19:44.803+0000 |
| GmtAfter |
string |
認證到期時間(GMT 時間戳記)。 |
2024-09-11T07:19:44.803+0000 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "CAA9A229-141D-5FBA-AC5C-516C02026A11",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": [
{
"CertIdentifier": "1234",
"CertName": "test.com",
"CommonName": "*.test.com",
"Sans": "SSL",
"BeforeDate": "1694503184803",
"AfterDate": "1726039184803",
"Algorithm": "test",
"Issuer": "test",
"GmtBefore": "2023-09-12T07:19:44.803+0000",
"GmtAfter": "2024-09-11T07:19:44.803+0000"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | 非法請求: %s |
| 400 | InvalidParameter | Parameter error:%s | 請求參數錯誤:%s |
| 500 | InternalError | Console error. Try again later:%s | 控制台錯誤.稍後重試:%s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | 沒有許可權使用此介面:%s |
| 404 | NotFound | Not found:%s | 資源不存在:%s |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。