Queries one or more SSL client certificates.
Make the API call
Request parameters
Parameter | Type | Required | Example value | Description |
---|---|---|---|---|
Action | String | Yes | DescribeSslVpnClientCert |
The name of this action. Value: DescribeSslVpnClientCert. |
RegionId | String | Yes | cn-hangzhou |
The region of the SSL client certificate to query. To query the region ID, call DescribeRegions. |
SslVpnClientCertId | String | Yes | vsc-bp17r58rjf5r1gjyr**** |
The ID of the SSL client certificate to query. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | 5BE01CD7-5A50-472D-AC14-CA181C5C03BE |
The ID of the request. |
RegionId | String | cn-hangzhou |
The region of the SSL client certificate. |
SslVpnClientCertId | String | vsc-bp13k5mp4tg8v3z9b**** |
The ID of the SSL client certificate. |
Name | String | abc |
The name of the client certificate. |
SslVpnServerId | String | vss-bp155e9yclsg1xgq4**** |
The ID of the SSL server. |
CaCert | String | Ca certificate |
The CA certificate. |
ClientCert | String | Client certificate |
The client certificate. |
ClientKey | String | Client key |
The client key. |
ClientConfig | String | Client configuration |
The client configuration. |
CreateTime | Long | 1552550980000 |
The time when the SSL client certificate was created. |
EndTime | Long | 1647158980000 |
The time when the SSL client certificate expires. |
Status | String | normal |
The status of the client certificate.
|
Examples
Request example
http(s)://vpc.aliyuncs.com/? Action=DescribeSslVpnClientCert
&RegionId=cn-hangzhou
&SslVpnClientCertId=vsc-bp17r58rjf5r1gjyr****
&<Common request parameters>
Response example
JSON
format
{
"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****"
}
XML
format
<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>
Errors
HTTP status code | 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. | You are not authorized to operate on this resource. |
403 | Forbidden | User not authorized to operate on the specified resource. | You are not authorized to operate on this resource. |
For a list of error codes, visit the API Error Center.