Feature request: A method to configure client-side TLS ciphers for streaming replication - Mailing list pgsql-hackers

From xx Z
Subject Feature request: A method to configure client-side TLS ciphers for streaming replication
Date
Msg-id CA+aQVjKy_SrHRUwJkfyNf9P67uH8BMn4juWHLdT7L=DYRscmpA@mail.gmail.com
Whole thread Raw
Responses Re: Feature request: A method to configure client-side TLS ciphers for streaming replication
List pgsql-hackers
Hello PostgreSQL community,

I have a question regarding the configuration of streaming replication.

When setting up streaming replication over TLS, I've noticed that while the primary server can restrict its supported encryption algorithms using the ssl_ciphers parameter, there doesn't seem to be a corresponding method for the standby (client) side of the replication connection. The standby appears to use all the default ciphers supported by the system's OpenSSL library.

For security compliance, we need to restrict the ciphers used by the client. Is there a way to configure the list of supported TLS ciphers on the standby for the replication connection?

If this functionality does not currently exist, I would like to request it as a new feature. It would be very helpful to have a connection parameter in primary_conninfo to specify the client-side cipher list.

Postgresql version: 15.2

Thank you for your time and consideration.

Best regards,

Yunfei Zhou

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Support getrandom() for pg_strong_random() source
Next
From: Dmitry Koval
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands