Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWQal-0003ro-3X for pgsql-general@arkaria.postgresql.org; Mon, 21 Mar 2022 22:33:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nWQaj-0007zm-Uu for pgsql-general@arkaria.postgresql.org; Mon, 21 Mar 2022 22:33:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWQaj-0007zT-KU for pgsql-general@lists.postgresql.org; Mon, 21 Mar 2022 22:33:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWQah-000403-8Q for pgsql-general@lists.postgresql.org; Mon, 21 Mar 2022 22:33:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22LMXTYa2406474; Mon, 21 Mar 2022 18:33:29 -0400 From: Tom Lane To: "McDermott, Becky" cc: "pgsql-general@lists.postgresql.org" Subject: Re: Can you install/run postgresql on a FIPS enabled host? In-reply-to: References: Comments: In-reply-to "McDermott, Becky" message dated "Mon, 21 Mar 2022 22:15:19 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2406472.1647902009.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Mar 2022 18:33:29 -0400 Message-ID: <2406473.1647902009@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "McDermott, Becky" writes: > We have a requirement to run all of our applications on FIPS enabled hos= ts. Is it possible to install and successfully run postgreql on a FIPS en= abled host? We do test that case from time to time, but not regularly. > We currently run postgres ina container that is executing on a FIPS ena= bled host with the setting: password_encryption =3D scram-sha-256 > And none of our Java clients can connect to the postgresql database. If= we run postgresql on a non-FIPS enabled host, everything works fine. It sounds like something thinks that scram-sha-256 encryption is disallowed by FIPS. That may or may not be accurate. If it's supposed to be allowed, you'd need to poke a little harder to narrow down where the problem is. (Digging in our commit logs, it looks like version 14.2 has some changes that might make this work better than it did in older versions; but I can't tell from the log messages whether the issue being fixed was new-in-14 or not.) regards, tom lane