You can call this operation to query the SSL settings of a MongoDB instance.

Ensure that the instance meets the following conditions when you call this operation:

  • The instance is in the running state.
  • The instance type is replica set.
  • The database version of the instance is 3.4 or 4.0.


OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform debugging operations, such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDBInstanceSSL

The operation that you want to perform. Set the value to DescribeDBInstanceSSL.

DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
SSLExpiredTime String 2020-03-11T02:28:25Z

The expiration time of the SSL certificate. The time is in the yyyy-MM-ddTHH:mm:ssZ format.

RequestId String 36BB1BC2-789C-4BBA-A519-C5B388E4B0D4

The ID of the request.

SSLStatus String Open

The status of the SSL function.

  • Open
  • Closed
CertCommonName String

The name of the SSL certificate.


Sample requests

http(s):// Action=DescribeDBInstanceSSL
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes