All Products
Search
Document Center

PolarDB:ModifyApplicationSSL

Last Updated:Nov 12, 2026

Modifies the SSL configuration of a specified PolarDB application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

The application ID.

pa-xxx

SslEnabled

boolean

Yes

Specifies whether SSL is enabled.

CertPem

string

No

The server certificate in PEM format. This parameter is provided when you use a bring-your-own (BYO) certificate. It must match KeyPem and override the instance connection domain name. This parameter is allowed only when CA SSL is enabled for the instance.

-----BEGIN CERTIFICATE----- MIICert -----END CERTIFICATE-----

KeyPem

string

No

The server private key in PEM format. PKCS#1, PKCS#8, and EC SEC1 formats are supported.

-----BEGIN PRIVATE KEY----- MIIKey -----END PRIVATE KEY-----

CaPem

string

No

The server certificate chain in PEM format. This parameter is optional.

-----BEGIN CERTIFICATE----- MIICa -----END CERTIFICATE-----

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF

Examples

Success response

JSON format

{
  "RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.