Re: pg_basebackup with hostssl ? - Mailing list pgsql-general

From David G. Johnston
Subject Re: pg_basebackup with hostssl ?
Date
Msg-id CAKFQuwbDRSAD=n25XhvCb-pe8V_yfHrvL=a3-=8JF22FLZQCuQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_basebackup with hostssl ?  (Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>)
List pgsql-general
On Wed, Feb 2, 2022 at 9:37 AM Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch> wrote:
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.

It is a client application that talks libpq.  All of them understand a common set of environment variables:


Many of those can also be supplied as part of the connection string.  These include SSL mode control.

The question I would ask is whether psql connects by default using ssl in the same basic configuration.  If so, then the inconsistency amounts to pg_basebackup having an insecure default connection method while psql has a secure one.

David J.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_basebackup with hostssl ?
Next
From: Laura Smith
Date:
Subject: Re: pg_basebackup with hostssl ?