获取网关证书列表。
调试
您可以在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 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。