Skip to main content

CreateSslVpnClientCert

Description

call CreateSslVpnClientCert interface to create SSL-VPN client certificate.

Request Method

POST

Request Path

/apsara/route/Vpc/CreateSslVpnClientCert

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
SslVpnServerIdBODYstringYesvss-m5et0q3iy1qex328w****SSL-VPN the ID of the server.
RegionIdBODYstringYescn-qingdao-env66-d01the region ID where the VPN gateway is located. you can obtain the region by calling DescribeRegions interface ID.
ClientTokenBODYstringNo02fb3da4-130e-11e9-8e44-0016e04115bclient token, used to ensure the idempotence of the request. The parameter value is generated by the client. It must be unique between different requests, and the maximum value is not more than 64 ASCII characters.
versionBODYstringNo2016-01-01version of api
NameBODYstringNoSslVpnClientCert1the name of the client certificate. is 2 to 128 characters in length, must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-). But you cannot use http:// or https:// start.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}