edit-icon download-icon

DescribeSslVpnClientCerts

Last Updated: Apr 13, 2018

Description

Query the list of SSL-VPN client certificates.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: DescribeSslVpnClientCerts

RegionId String Yes

The region of the VPN gateway.

You can obtain the region ID by calling the DescribeRegions API.

SslVpnServerId String No The ID of the SSL-VPN client certificate.
Name String No The name of the SSL-VPN client certificate.
PageNumber Integer No The number of pages to return. The default value is 1.
PageSize Integer No The number of rows per page. The maximum value is 50 and the default value is 10.

Response parameters

Name Type Description
RequestId String The ID of the request.
SslVpnClientCertKeys JSON string The list of SSL-VPN client certificates.
TotalCount Integer The number of queried entries.
PageNumber Integer The current page number.
PageSize Integer The number of entries on the current page.
SslVpnClientCertKeys objects
Name Type Description
RegionId String The region of the VPN gateway.
SslVpnClientCertId String The ID of the SSL-VPN client certificate.
Name String The name of the SSL-VPN client certificate.
CreateTime Long The time of creation.
EndTime Long The expiration time of the client certificate.
Status String The status of the client certificate.

  • expiring-soon: The certificate will expire after one week.
  • normal: normal.

  • expired: expired.

Error codes

See VPC API Error Center.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=DescribeSslVpnClientCerts
  2. &RegionID=cn-beijing
  3. &<CommonParameters>

Response example

XMLformat

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <DescribeCustomerGatewaysResponse>
  3. <PageNumber>1</PageNumber>
  4. <TotalCount>1</TotalCount>
  5. <PageSize>10</PageSize>
  6. <RequestId>5BE01CD7-5A50-472D-AC14-CA181C5C03BE</RequestId>
  7. <SslVpnClientCertKeys>
  8. <SslVpnClientCertKey>
  9. <RegionId>cn-beijing</RegionId>
  10. <SslVpnClientCertId>vsc-bp1n8wcf134yl0osrcg98</SslVpnClientCertId>
  11. <Name>test</Name>
  12. <CreateTime>1492747187000</CreateTime>
  13. <EndTime>1494966335000</EndTime>
  14. <Status>normal</Status>
  15. </SslVpnClientCertKey>
  16. </SslVpnClientCertKeys>
  17. </DescribeCustomerGatewaysResponse>

JSONformat

  1. {
  2. "PageNumber": "1",
  3. "TotalCount": "1",
  4. "PageSize": "10",
  5. "RequestId": "5BE01CD7-5A50-472D-AC14-CA181C5C03BE",
  6. "SslVpnClientCertKeys": {
  7. "SslVpnClientCertKey": {
  8. "RegionId": "cn-beijing",
  9. "SslVpnClientCertId": "vsc-bp1n8wcf134yl0osrcg98",
  10. "Name": "test",
  11. "CreateTime": "1492747187000",
  12. "EndTime": "1494966335000",
  13. "Status": "normal"
  14. }
  15. }
  16. }
Thank you! We've received your feedback.