Queries the detailed information about 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 certificate. You can call the DescribeRegions operation to query the most recent region list.

SslVpnClientCertId String Yes vsc-bp17r58rjf5r1gjyr****

The ID of the SSL 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:

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

The timestamp that indicates when the SSL client certificate was created. Unit: milliseconds.

This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

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 Client configuration

The configuration of the client.

EndTime Long 1647158980000

The timestamp that indicates when the SSL client certificate expires. Unit: milliseconds.

This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

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

The ID of the request.

ClientCert String Client certificate

The client certificate.

CaCert String 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 nametest

The name of the SSL client certificate.

Examples

Sample requests

http(s)://[Endpoint]/?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

<DescribeSslVpnClientCertResponse>
    <Status>normal</Status>
    <CreateTime>1552550980000</CreateTime>
    <ClientKey>Client key</ClientKey>
    <RegionId>cn-hangzhou</RegionId>
    <ClientConfig>Client configuration</ClientConfig>
    <EndTime>1647158980000</EndTime>
    <RequestId>5BE01CD7-5A50-472D-AC14-CA181C5C03BE</RequestId>
    <ClientCert>Client certificate</ClientCert>
    <CaCert>CA certificate</CaCert>
    <SslVpnClientCertId>vsc-bp13k5mp4tg8v3z9b****</SslVpnClientCertId>
    <SslVpnServerId>vss-bp155e9yclsg1xgq4****</SslVpnServerId>
    <Name>nametest</Name>
</DescribeSslVpnClientCertResponse>

JSON format

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

{
  "Status" : "normal",
  "CreateTime" : 1552550980000,
  "ClientKey" : "Client key",
  "RegionId" : "cn-hangzhou",
  "ClientConfig" : "Client configuration",
  "EndTime" : 1647158980000,
  "RequestId" : "5BE01CD7-5A50-472D-AC14-CA181C5C03BE",
  "ClientCert" : "Client certificate",
  "CaCert" : "CA certificate",
  "SslVpnClientCertId" : "vsc-bp13k5mp4tg8v3z9b****",
  "SslVpnServerId" : "vss-bp155e9yclsg1xgq4****",
  "Name" : "nametest"
}

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 not authorized to perform the operation on the specified resource. Acquire the required permissions and try again.

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