Parameter | Description |
SSL mode | If SSL encryption is enabled for the RDS instance, the RDS instance allows SSL connections from the database client. You must set the SSL mode parameter based on the following scenarios: The following list describes the values of the SSL mode parameter: Require: The database client encrypts the SSL connections that are used to transmit data. However, the database client does not validate the RDS instance. Verify-CA: The database client encrypts the SSL connections that are used to transmit data and validates the RDS instance. Verify-Full: The database client encrypts the SSL connections that are used to transmit data, validates the RDS instance, and verifies that the CN or Domain Name System (DNS) specified in the server certificate is consistent with the endpoint that is configured at connection establishments.
|
Client certificate | You must set this parameter if you have configured a client certificate. This parameter specifies the save path of the client.crt file that contains the client certificate. For more information, see Configure a client CA certificate on an ApsaraDB RDS for PostgreSQL instance. |
Client certificate key | You must set this parameter if you have configured a client certificate. This parameter specifies the save path of the client.key file that contains the private key of the client certificate. For more information, see Configure a client CA certificate on an ApsaraDB RDS for PostgreSQL instance. |
Root certificate | You must set this parameter if you set the SSL mode parameter to Verify-CA or Verify-Full. This parameter specifies the save path of the file that contains the server CA certificate. Note When you run the sample command, you must use the actual path to the client.crt, client.key, and server-ca.crt files. You can run the sample command to configure a custom certificate. You can also configure a cloud certificate. For example, you can replace server-ca.crt with ApsaraDB-CA-Chain.pem to configure a cloud certificate.
|