You need to enable JavaScript to run this app.
RDS for SQL Server

RDS for SQL Server

Copy page
Download PDF
Data security
DownloadSSLCertificate - Download an SSL certificate
Copy page
Download PDF
DownloadSSLCertificate - Download an SSL certificate
Call the DownloadSSLCertificate API to download the SSL CA certificate for an instance.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
This section describes only the request parameters specific to this API and some common parameters. For more information, refer to Common parameters.​
Action stringrequired Example value: DownloadSSLCertificate​
The operation to perform. Value: DownloadSSLCertificate.​
​
Version stringrequired Example value: 2022-01-01​
The API version is 2022-01-01.​
​
InstanceId stringrequired Example value: mssql-6474c9******​
Instance ID.​
tip​
You can call the DescribeDBInstances operation to query the instance ID.​
​
​
Response parameters​
This section describes only the response parameters specific to this API. For more information, refer to Return structure.​
Certificate integer[] Example value: mssql-123abc***.zip.​
The byte stream of the ZIP archive of the instance's SSL CA certificate.​
​
​
Request example​
​
POST /?Action=DownloadSSLCertificate&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-mssql.volcengineapi.com​
X-Date: 20230131T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mssql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
​
{​
"InstanceId":"mssql-6474c9******"​
}​
​
Response example​
​
{​
"ResponseMetadata": {​
"RequestId": "2025021021045419B3A82D673D4888A154-******",​
"Action": "DownloadSSLCertificate",​
"Version": "2022-01-01",​
"Service": "rds_mssql",​
"Region": "cn-beijing"​
},​
"Result": {​
"Certificate": [​
-64,​
96,​
47,​
…,​
-124,​
-64,​
105​
]​
}​
}​
​
Error code​
The following table lists the business logic-related error codes for this API. For public error codes, see the Public error codes document.​
​
Status code​
Error code​
Error message​
Description​
400​
InvalidParameter​
The specified parameter %s is not valid.​
The value of Parameter {parameter1} is invalid.​
404​
InstanceNotFound​
The specified instance does not exist.​
Instance not found.​
​
​
Last updated: 2026.10.15 16:06:23