Re: HOT Standby & SSL

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: CS DBA <cs_dba(at)consistentstate(dot)com>, pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: HOT Standby & SSL
Date: 2014-02-02 20:33:21
Message-ID: 52EEAB91.7020905@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/02/2014 09:14 AM, CS DBA wrote:
> All;
>
> How do I force a standby to connect to the master via ssl only?

Use hostssl in the pg_hba.conf file:

http://www.postgresql.org/docs/9.3/interactive/auth-pg-hba-conf.html

hostssl

This record matches connection attempts made using TCP/IP, but only
when the connection is made with SSL encryption.

To make use of this option the server must be built with SSL
support. Furthermore, SSL must be enabled at server start time by
setting the ssl configuration parameter (see Section 17.9 for more
information).

>
> Thanks in advance
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message George Ant 2014-02-02 20:49:40 Re: Composite type
Previous Message Adrian Klaver 2014-02-02 20:30:38 Re: Transparent exchange BDE from Oracle to PostgreSQL