To send an SSL Certificates Service API request, you must send an HTTP GET or HTTPS GET request to the SSL Certificates Service endpoint. You must add the request parameters that correspond to the API operation being called. After you call the API operation, the system returns a response. The request and response are encoded in UTF-8.

Request structure

SSL Certificates Service API operations use the RPC protocol. You can call SSL Certificates Service API operations by sending HTTP GET or HTTPS GET requests.

The request syntax is as follows:

http(s)://Endpoint/?Action=xx&Parameters
Parameters:
  • Endpoint: the endpoint of the SSL Certificates Service API. The endpoint of the SSL Certificates Service API is cas.aliyuncs.com.
  • Action: the name of the operation being performed. For example, to query the details about all certification authority (CA) certificates, you must set the Action parameter to DescribeCACertificateList.
  • Parameters: the request parameters for the operation. Separate multiple parameters with ampersands (&).

    Request parameters include both common parameters and operation-specific parameters. Common parameters include the API version number and authentication information. For more information, see Common parameters. Operation-specific parameters are used for specific API calls. For more information, see the topics of API operations. For more information, see List of operations by function.

The following example demonstrates how to call the DescribeCACertificateList operation to query the details about all CA certificates:
Note The following code has been formatted for ease of reading.
http(s)://cas.aliyuncs.com/?Action=DescribeCACertificateList
&Format=xml
&Version=2020-06-30
&Signature=xxxx%xxxx%3D
&SignatureMethod=HMAC-SHA1
&SignatureNonce=15215528852396
&SignatureVersion=1.0
&AccessKeyId=key-test
&TimeStamp=2021-06-01T12:00:00Z
...