You need to enable JavaScript to run this app.
文档中心
负载均衡

负载均衡

复制全文
下载 pdf
监听器
DescribeNLBListenerCertificates - 查询指定TLS监听器下的证书信息
复制全文
下载 pdf
DescribeNLBListenerCertificates - 查询指定TLS监听器下的证书信息
调用DescribeNLBListenerCertificates 接口,查询指定TLS监听器下的证书信息。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:DescribeNLBListenerCertificates​
要执行的操作,取值为 DescribeNLBListenerCertificates。​
​
Version String 必选 示例值:2020-04-01​
API版本信息,当前版本为 2020-04-01。​
​
ListenerId String 必选 示例值:lsn-cam1lg536fhkll****​
监听器ID。​
​
CertificateType String 可选 示例值:Server​
证书类型。取值如下:​
  • Server:服务器证书。​
  • CA:CA 证书。​
​
CertificateIds.N String 可选 示例值:cert-wuytp9pa****​
证书ID。​
  • 参数 - N:表示证书的序号,取值范围为1~20。​
  • 多个证书ID间使用&分隔。​
​
Domain String 可选 示例值:www.test.com​
证书公用名称(CN)。​
​
NextToken String 可选 示例值:caeba0bbb2be03f84eb48b699f0a****​
分页查询凭证,用于标记分页的位置。​
  • 不填则从头开始查询。​
  • 传入之前调用本API返回的NextToken,则从该次API调用标记分页的位置往后开始查询。​
​
MaxResults Integer 可选 示例值:50​
查询的数量,默认为 10,最大为100。​
​
​
​
返回参数​
RequestId String 示例值:20210811152539010225146063030****​
请求ID。​
​
NextToken String 示例值:caeba0bbb2be03f84eb48b699f0a****​
分页查询凭证,用于标记分页的位置,初次调用该接口时无需设置。下次查询时,取值为上一次API调用返回的NextToken参数值。​
​
ListenerId String 示例值:lsn-bpn0kn908w4nbw****​
监听器ID。​
​
Certificates Object[] 示例值:--​
TLS 监听器关联的证书列表。​
CertificateType String 示例值:Server​
证书类型。​
​
CertificateSource String 示例值:SSL​
TLS监听器的服务器证书来源。​
  • SSL:证书中心-SSL 证书。​
  • PCALeaf:证书中心-私有CA 的私有证书。​
​
CertificateId String 示例值:cert-xxx​
服务器证书的ID。​
​
Status String 示例值:Associated​
证书与监听关联的状态。​
  • Associating:关联中。​
  • Associated:已关联。​
  • Disassociating:解除关联中。​
​
Domain String 示例值:www.test.com​
证书域名。​
​
IsDefault Boolean 示例值:true​
是否为监听器默认证书。​
  • true:是。​
  • false:否。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeNLBListenerCertificates&Version=2020-04-01&ListenerId=lsn-cam1lg536fhkll****&CertificateType=Server&CertificateIds.1=cert-wuytp9pa****&Domain=www.test.com&NextToken=caeba0bbb2be03f84eb48b699f0a****&MaxResults=50 HTTP/1.1​
Host: clb.cn-beijing.volcengineapi.com​
Date: 20260310T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/clb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "DescribeNLBListenerCertificates",​
"Version": "2020-04-01",​
"Service": "clb",​
"Region": "cn-beijing"​
},​
"Result": {​
"Certificates": [​
{​
"Domain": "www.test.com",​
"Status": "Associated",​
"IsDefault": true,​
"CertificateId": "cert-xxx",​
"CertificateType": "Server",​
"CertificateSource": "SSL"​
}​
],​
"ListenerId": "lsn-bpn0kn908w4nbw****",​
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",​
"RequestId": "20210811152539010225146063030****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
IdempotentParameterMismatch​
Arguments on this idempotent request are inconsistent with arguments used in previous request(s).​
此幂等请求的参数与前一个请求中使用的参数不一致。​
400​
InvalidClientToken.Malformed​
The specified ClientToken is malformed.​
指定的 ClientToken 参数格式不合法。​
400​
InvalidMaxResult.Malformed​
The specified MaxResult is malformed.​
指定的 MaxResult 参数格式不合法。​
400​
InvalidMaxResults.Malformed​
The specified MaxResults is malformed.​
指定的 MaxResults 参数格式不合法。​
400​
InvalidNextToken.Malformed​
The specified NextToken is malformed.​
指定的 NextToken 参数格式不合法。​
400​
InvalidPaging.Malformed​
The specified PageNumber or PageSize is malformed.​
指定的分页参数格式不合法。​
404​
InvalidListener.NotFound​
The specified Listener does not exist.​
指定的监听器不存在。​
409​
InvalidOperation.Conflict​
The specified resource operation conflicts.​
指定的资源操作冲突。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
​
​
最近更新时间:2026.08.06 14:30:32
这个页面对您有帮助吗?
有用
有用
无用
无用