Re: Replication & TLS encryption - how?

From: lejeczek <peljasz(at)yahoo(dot)co(dot)uk>
To:
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Replication & TLS encryption - how?
Date: 2021-04-07 20:12:15
Message-ID: 7e89a9be-e788-23fc-6b1b-2ee67586d452@yahoo.co.uk
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 07/04/2021 17:36, Tom Lane wrote:
> lejeczek <peljasz(at)yahoo(dot)co(dot)uk> writes:
>> A novice here thus please go easy on me as I ask this - I
>> see docs/howtos all over the place be those either talk of
>> encryption or replication. I failed to find one which blend
>> these two concepts together - sure it's possible to pgSQL
>> replication encrypted, right?
> Replication connections work exactly like normal sessions for
> this purpose. Just make sure you set any required parameters
> in the standby's connection string.
>
> regards, tom lane
>
>
Thanks. Would you know how '|clientcert=1' fits into the
equation?
With it present in pg_hba.conf pgSQL was not happy saying:

FATAL:  connection requires a valid client certificate.
|

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2021-04-08 02:59:07 Re: Replication & TLS encryption - how?
Previous Message Tom Lane 2021-04-07 16:36:14 Re: Replication & TLS encryption - how?