Re: pg_basebackup with hostssl ?

From: Laura Smith <n5d9xq3ti233xiyif2vp(at)protonmail(dot)ch>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: postgre <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_basebackup with hostssl ?
Date: 2022-02-02 16:37:45
Message-ID: bWDaEVjsYVXQR-ZHbIR0Pqal3hBr9PIXZNgDM_4aUEpupEbkKgEMfk-rHDW1dBVhZH1Zslo5YrydOeQ9_B6n2vGxVMG6DtotTKvdzoUQBF4=@protonmail.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Wednesday, February 2nd, 2022 at 16:30, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:

> I am not following. pg_basebackup is a stand alone client that is not
>
> involved in replication other then establishing a starting point from
>
> which to later establish a replication relationship.
>

Indeed. And that is exactly that I am trying to do (i.e. have master, want new slave).

> The error is saying that whatever instance you are pointing
>
> pg_basebackup at does not have entry in pg_hba.conf for the
>
> host/user/encryption combination pg_basebackup is trying to connect as.
>

But it *DOES* have an entry, per my original message:
"hostssl replication all 10.0.0.0/8 md5"

And yes, that hba is loaded and live because other remote clients are happily connected to that server and thus reliant on a valid hba.conf.

The host is correct. The user is correct.

The point I am making is that pg_basebackup is connecting without encryption and I want to know how to tell it to use encryption. The docs are silent on the subject.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laura Smith 2022-02-02 16:40:32 Re: pg_basebackup with hostssl ?
Previous Message Adrian Klaver 2022-02-02 16:30:16 Re: pg_basebackup with hostssl ?