Queries details of an SSL client certificate.

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 DescribeSslVpnClientCert

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

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.

SslVpnClientCertId String Yes vsc-bp17r58rjf5r1gjyr****

The ID of the SSL-VPN client certificate that you want to query.

Response parameters

Parameter Type Example Description
Status String normal

The status of the SSL client certificate. Valid values: Valid values:

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

The time when the SSL client certificate was created.

ClientKey String The key of the client

The key of the client.

RegionId String cn-hangzhou

The ID of the region where the SSL client certificate is created.

ClientConfig String Configure the client

The configuration of the client.

EndTime Long 1647158980000

The time when the SSL client certificate expires.

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

The ID of the request.

ClientCert String The SSL client certificate

The SSL client certificate.

CaCert String The CA certificate

The CA certificate.

SslVpnClientCertId String vsc-bp13k5mp4tg8v3z9b****

The ID of the SSL client certificate.

SslVpnServerId String vss-bp155e9yclsg1xgq4****

The ID of the SSL server.

Name String abc

The name of the SSL client certificate.

Examples

Sample requests

http(s)://vpc.aliyuncs.com/?Action=DescribeSslVpnClientCert
&RegionId=cn-hangzhou
&SslVpnClientCertId=vsc-bp17r58rjf5r1gjyr****
&<Common request parameters>

Sample success responses

XML format

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

<DescribeSslVpnServersResponse>
    <Name>df</Name>
    <Status>normal</Status>
    <ClientConfig>****</ClientConfig>
    <ClientCert>****</ClientCert>
    <CreateTime>1552550980000</CreateTime>
    <RegionId>cn-hangzhou</RegionId>
    <RequestId>49D54005-6E0E-4132-B305-F3A24DEDDDC9</RequestId>
    <EndTime>1647158980000</EndTime>
    <SslVpnClientCertId>vsc-bp13k5mp4tg8v3z9b****</SslVpnClientCertId>
    <ClientKey>****</ClientKey>
    <CaCert>****</CaCert>
    <SslVpnServerId>vss-bp155e9yclsg1xgq4****</SslVpnServerId>
</DescribeSslVpnServersResponse>

JSON format

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

{
  "Name" : "df",
  "Status" : "normal",
  "ClientConfig" : "****",
  "ClientCert" : "****",
  "CreateTime" : 1552550980000,
  "RegionId" : "cn-hangzhou",
  "RequestId" : "49D54005-6E0E-4132-B305-F3A24DEDDDC9",
  "EndTime" : 1647158980000,
  "SslVpnClientCertId" : "vsc-bp13k5mp4tg8v3z9b****",
  "ClientKey" : "****",
  "CaCert" : "****",
  "SslVpnServerId" : "vss-bp155e9yclsg1xgq4****"
}

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.