pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vikas Sharma <shavikas@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: pgpool-II 3.7.5 with ssl
Date: Tue, 10 Dec 2019 11:08:02 -0500
Message-ID: <7789.1575994082@sss.pgh.pa.us> (raw)
In-Reply-To: <CAN6gwKytmFz__EvR8oqd1jYCpr9d91KnKLZUgim5wjgw=EuNSw@mail.gmail.com>
References: <CAN6gwKytmFz__EvR8oqd1jYCpr9d91KnKLZUgim5wjgw=EuNSw@mail.gmail.com>

Vikas Sharma <shavikas@gmail.com> writes:
> We use postgresql 9.6 and pgpool 3.7.5 and we are now asked to enable ssl
> for 'in transit'. I have setup the ssl server side on the
> postgresql dbs ( master and slave) and can see in pg_stat_ssl that the
> master slave communication and connections from the application are showing
> ssl = 't'

> I have set the parameters in pgpool.conf as well but not sure if the pgpool
> is working with ssl enabled. because when I try to connect
> with psql using pgpool I get below:

> [postgres@pgool-server ~]$ psql 'host=localhost port=5432 dbname=postgres
> user=user1  sslmode=require'
> psql: server does not support SSL, but SSL was required

Hm, is pgpool maybe using Unix-socket connections to the database?
I'm not sure why pgpool would be trying to pass SSL-ness of the
connection through to the server in that case, though.  Seems like
something you should discuss with the pgpool people.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <7789.1575994082@sss.pgh.pa.us>
Permalink:  ../7789.1575994082@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7789.1575994082@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shavikas@gmail.com
  Subject: Re: pgpool-II 3.7.5 with ssl
  In-Reply-To: <7789.1575994082@sss.pgh.pa.us>
  References: <CAN6gwKytmFz__EvR8oqd1jYCpr9d91KnKLZUgim5wjgw=EuNSw@mail.gmail.com> <7789.1575994082@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox