Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iei3V-0006Nh-GW for pgsql-general@arkaria.postgresql.org; Tue, 10 Dec 2019 16:08:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iei3U-0002av-2w for pgsql-general@arkaria.postgresql.org; Tue, 10 Dec 2019 16:08:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iei3T-0002ao-Ow for pgsql-general@lists.postgresql.org; Tue, 10 Dec 2019 16:08:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iei3Q-0008VF-QJ for pgsql-general@lists.postgresql.org; Tue, 10 Dec 2019 16:08:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xBAG822Y007790; Tue, 10 Dec 2019 11:08:02 -0500 From: Tom Lane To: Vikas Sharma cc: "pgsql-general@lists.postgresql.org" Subject: Re: pgpool-II 3.7.5 with ssl In-reply-to: References: Comments: In-reply-to Vikas Sharma message dated "Tue, 10 Dec 2019 15:40:48 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7788.1575994082.1@sss.pgh.pa.us> Date: Tue, 10 Dec 2019 11:08:02 -0500 Message-ID: <7789.1575994082@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Vikas Sharma 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