Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fg9nD-0004LS-F3 for pgsql-bugs@arkaria.postgresql.org; Thu, 19 Jul 2018 14:20:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fg9nB-0002sK-Su for pgsql-bugs@arkaria.postgresql.org; Thu, 19 Jul 2018 14:20:29 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fg9nB-0002sD-MS for pgsql-bugs@lists.postgresql.org; Thu, 19 Jul 2018 14:20:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fg9n8-0008Qa-G0 for pgsql-bugs@lists.postgresql.org; Thu, 19 Jul 2018 14:20:29 +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 w6JEKMjI020748; Thu, 19 Jul 2018 10:20:22 -0400 From: Tom Lane To: chiranjeevi@greycampus.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15284: SSL connection is off In-reply-to: <153197552316.1396.16903346755597280019@wrigleys.postgresql.org> References: <153197552316.1396.16903346755597280019@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Thu, 19 Jul 2018 04:45:23 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20746.1532010022.1@sss.pgh.pa.us> Date: Thu, 19 Jul 2018 10:20:22 -0400 Message-ID: <20747.1532010022@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > psql -h 185.168.192.147 -U postgres > psql: FATAL: no pg_hba.conf entry for host "183.82.105.209", user > "postgres", database "postgres", SSL off Hmm. This line: > host all all 0.0.0.0/0 md5 certainly ought to match that connection attempt. So I can think of two possibilities: 1. You are not looking at the pg_hba.conf file that the running server is actually using. "SHOW hba_file" could be used to confirm which one that is. 2. You modified the file since the server was started, and didn't SIGHUP the server to tell it to re-read the file. ("pg_ctl reload" would fix that, or your packager may have provided a wrapper script for it.) regards, tom lane