Skip to content

Not able to modify ssl -cipher-list in a PG

0

Hello,

I am trying to modify a parameter (ssl -cipher-list) but it is not letting me modify. The PG group name is "mdsol-parley-sandbox-8-4 in AWS-Green" account under my portfolio at AWS. can you please help on urgent basis.

asked a year ago202 views

1 Answer
0

In Amazon RDS and Aurora PostgreSQL, there are parameters that can be modified and others that cannot. Based on your issue with modifying the "ssl-cipher-list" parameter, there are a few important points to consider:

  1. You cannot modify parameters in a default parameter group. If you're trying to modify a default parameter group, you'll need to create a custom parameter group first.

  2. Some parameters are marked as "non-modifiable" even in custom parameter groups, and these cannot be changed regardless of the parameter group type.

  3. For PostgreSQL, the parameter to control SSL ciphers is typically called ssl_ciphers (not "ssl-cipher-list"). This parameter is modifiable in custom parameter groups.

To modify the SSL cipher settings:

  1. Create a custom parameter group if you don't already have one.
  2. In the AWS Management Console, navigate to Parameter groups in the RDS console.
  3. Select your custom parameter group and choose "Edit".
  4. Find the ssl_ciphers parameter and modify it with your desired cipher list.
  5. Save the changes.

Note that in PostgreSQL 16 and later, if you're using TLS v1.3, you'll need to set ssl_max_protocol_version to TLSv1.2 as TLS v1.3 doesn't use the cipher configurations specified in the ssl_ciphers parameter.

If the parameter is still showing as non-modifiable in a custom parameter group, it may be a system parameter that AWS doesn't allow users to modify for security or stability reasons. In that case, you would need to use other AWS security features like Security Groups or Network ACLs to restrict access to your database instance.
Sources
Security with Amazon Aurora PostgreSQL - Amazon Aurora
Modifying parameters in a DB parameter group in Amazon Aurora - Amazon Aurora
Is it possible to edit a non modifiable value in a custom parameter groups in RDS | AWS re:Post
Using SSL with a PostgreSQL DB instance - Amazon Relational Database Service

answered a year ago

AWS
EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.