Queries one or more SSL client certificates.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeSslVpnClientCerts

The operation that you want to perform. Set the value to DescribeSslVpnClientCerts.

RegionId String Yes cn-hangzhou

The region ID of the SSL client certificates to be queried. You can call the DescribeRegions operation to query the most recent region list.

SslVpnServerId String No vss-bp18q7hzj6largv4v****

The ID of the SSL server.

SslVpnClientCertId String No vsc-bp1n8wcf134yl0osr****

The ID of the SSL client certificate.

Name String No cert1

Enter the name for the SSL client certificate.

PageNumber Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page. Default value: 10. Valid values: 1 to 50.

Response parameters

Parameter Type Example Description
PageSize Integer 10

The number of entries returned per page.

RequestId String 5BE01CD7-5A50-472D-AC14-CA181C5C03BE

The ID of the request.

PageNumber Integer 1

The page number of the returned page.

TotalCount Integer 1

The number of entries returned.

SslVpnClientCertKeys Array of SslVpnClientCertKey

The detailed information about the queried SSL client certificates.

SslVpnClientCertKey
Status String normal

The status of the SSL client certificate. Valid values:

  • expiring-soon: The certificate expires in one week.
  • normal: The certificate is active.
  • expired: The certificate has expired.
EndTime Long 1494966335000

The time when the SSL client certificate expires.

CreateTime Long 1492747187000

The time when the SSL client certificate was created.

SslVpnClientCertId String vsc-bp1n8wcf134yl0osr****

The ID of the SSL client certificate.

SslVpnServerId String vss-bp18q7hzj6largv4v****

The ID of the SSL server.

Name String cert1

The name of the SSL client certificate.

RegionId String cn-hangzhou

The region where the SSL client certificate is created.

Examples

Sample requests

http(s)://vpc.aliyuncs.com/?Action=DescribeSslVpnClientCerts
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeSslVpnServersResponse>
    <PageNumber>1</PageNumber>
    <TotalCount>1</TotalCount>
    <PageSize>10</PageSize>
    <SslVpnServers>
        <SslVpnServer>
            <RegionId>cn-hanghzou</RegionId>
            <SslVpnServerId>vss-bp18q7hzj6largv4v****</SslVpnServerId>
            <VpnGatewayId>vpn-bp1q8bgx4xnkm2ogj****</VpnGatewayId>
            <Name>test</Name>
            <CLientIpPool>10.10.10.20/24</CLientIpPool>
            <LocalSubnet>10.10.10.10/24</LocalSubnet>
            <Proto>UDP</Proto>
            <Port>1194</Port>
            <Cipher>AES-128-CBC</Cipher>
            <Compress>true</Compress>
            <CreateTime>1492753580000</CreateTime>
            <Connections>0</Connections>
            <MaxConnections>5</MaxConnections>
            <InternetIp>47.98.xx.xx</InternetIp>
        </SslVpnServer>
    </SslVpnServers>
    <RequestId>DF11D6F6-E35A-41C3-9B20-6FC8A901FE65</RequestId>
</DescribeSslVpnServersResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "DescribeSslVpnServersResponse" : {
    "PageNumber" : "1",
    "TotalCount" : "1",
    "PageSize" : "10",
    "SslVpnServers" : {
      "SslVpnServer" : {
        "RegionId" : "cn-hanghzou",
        "SslVpnServerId" : "vss-bp18q7hzj6largv4v****",
        "VpnGatewayId" : "vpn-bp1q8bgx4xnkm2ogj****",
        "Name" : "test",
        "CLientIpPool" : "10.10.10.20/24",
        "LocalSubnet" : "10.10.10.10/24",
        "Proto" : "UDP",
        "Port" : "1194",
        "Cipher" : "AES-128-CBC",
        "Compress" : "true",
        "CreateTime" : "1492753580000",
        "Connections" : "0",
        "MaxConnections" : "5",
        "InternetIp" : "47.98.xx.xx"
      }
    },
    "RequestId" : "DF11D6F6-E35A-41C3-9B20-6FC8A901FE65"
  }
}

Error codes

HttpCode Error code Error message Description
403 Forbbiden.SubUser User not authorized to operate on the specified resource as your account is created by another user. The error message returned because you are unauthorized to perform this operation on the specified resource. Apply for the required permissions and try again.
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you are unauthorized to perform this operation on the specified resource. Apply for the required permissions and try again.

For a list of error codes, visit the API Error Center.