Re: How to configure client-side TLS ciphers for streaming replication?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: xx Z <xxz030811(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to configure client-side TLS ciphers for streaming replication?
Date: 2025-08-26 20:16:39
Message-ID: a38653565ad81ced7480f810bbe02918c5ee6cbf.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2025-08-26 at 20:34 +0800, xx Z wrote:
> Thanks for your suggestion.
> But I still want to know why we can't set "ssl_ciphers" on the client side.

I'd say because nobody implemented it, perhaps because nobody felt the need.

> This is still considered a security issue in some cases, and PostgreSQL has
> mature capabilities on the master side to implement this functionality.

That sounds to me like some moderately clueful security auditor is looking
for a nit to pick. If you do streaming replication, and you control the
ciphers on the primary server, what added security benefit do you get by
controlling the ciphers on the standby server (the client) as well?

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-08-26 20:31:12 Re: In-order pg_dump (or in-order COPY TO)
Previous Message Dimitrios Apostolou 2025-08-26 19:43:44 In-order pg_dump (or in-order COPY TO)