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 1nWR8C-0005dV-HR for pgsql-general@arkaria.postgresql.org; Mon, 21 Mar 2022 23:08:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nWR8B-0003GZ-EX for pgsql-general@arkaria.postgresql.org; Mon, 21 Mar 2022 23:08:07 +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 1nWR8B-0003Fo-2U for pgsql-general@lists.postgresql.org; Mon, 21 Mar 2022 23:08:07 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nWR88-0004N8-UX for pgsql-general@lists.postgresql.org; Mon, 21 Mar 2022 23:08:06 +0000 Received: by mail-pj1-x1031.google.com with SMTP id m22so14290412pja.0 for ; Mon, 21 Mar 2022 16:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=WGdOxgev3UW3ekiMW0n47rZhglYq3Ea5HkPDQnLmp10=; b=RqQ7nopdE+0I6ale0W1GlDr5zzr42q7Rf9NPVsQUKsVxN6YLWQSDmti9kFNwc+ZvQH Dn1doHBfv2Bzh0nqS14NaRpet7o7Q+OImE7HNF9GV2j63/mMSt9By941ElbAb39ONPC7 GqhEk8tlrHYHg6FZ05rBdFG4QIEG8flzEI7R950DcdBuAI6HaU9PqZbP35bTNM2UbyMY q8VRk8gd1fqndRufozc6/3qalI+WqtZXQ+mExS7xh2EnPoNmLPO2ZX5dgWVQjoVTACr/ +WAxeCqRmyAblJ1QeG/eiJ6UluvPIoFfAy+3mcr/1Y9JE6epSFBp/kl/AF2LBPLny8RV Wxow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=WGdOxgev3UW3ekiMW0n47rZhglYq3Ea5HkPDQnLmp10=; b=3sSWnVg/fkuu8dSS3q+lJWNHccoeeMH+mdw+hvlPF7q490ABMiWEO2BiSAp9FqhdQa 7RHiiiao1A/vsfwkATzf8wSRxVSn67cQBGPBZY7atfr6BpWXTZqWTunhj+RqurF/QPMO kHOy72mpXBCJT20hOUBSK7nCuRySa4raDwGCFruP7c0/2yauddSCG9dFi9XfHEHENtNT VXh0OSs7+bw/JSiYEZcTfvOsWOWO8nq241qbQk5MvMPcyfE8kwWwJ+6bCNrk5cCre9qc B6plS2akkjLO9FHANl+WgnnUHVSEBtYhI0X3dP35NIvoGk0ZYg6pEaxWOSBpj8iM7kM2 KJMw== X-Gm-Message-State: AOAM533bwg3aK6wAeiWdv7phjs0UTHO2RFgs8ZAP9y+QwxcIvjRk2Y2e 16Q/TpBfiMctTkSAk2mLnyb3vFqoSkU= X-Google-Smtp-Source: ABdhPJyO8ZjI030j1q6NDPQ36jrWF+FcxuBWL+5HeoyOth1rGlodk4medF7/DOz08AcFJJ56kpg97g== X-Received: by 2002:a17:90b:3ece:b0:1bf:841e:930b with SMTP id rm14-20020a17090b3ece00b001bf841e930bmr1555201pjb.212.1647904082002; Mon, 21 Mar 2022 16:08:02 -0700 (PDT) Received: from [192.168.1.4] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id e11-20020a056a001a8b00b004fab740dbddsm630713pfv.105.2022.03.21.16.08.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Mar 2022 16:08:01 -0700 (PDT) Message-ID: <624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com> Date: Mon, 21 Mar 2022 17:08:00 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [EXTERNAL] Re: Can you install/run postgresql on a FIPS enabled host? Content-Language: en-CA To: pgsql-general@lists.postgresql.org References: <2406473.1647902009@sss.pgh.pa.us> <2408795.1647903569@sss.pgh.pa.us> From: Rob Sargent In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/21/22 17:02, McDermott, Becky wrote: > Thank you. I should deploying a very simple container that has psql installed and make sure I can connect in a simple way with a username/password. If this works, then the database is fine and it would definitely point to a java issue. > > Thanks! I liked your original theory: That stack trace message is rather adamant.  Is there any indication that PBKDF2 and SCRAM-SHA-256 should play nice? Caused by: org.postgresql.util.PSQLException: Something unusual has occurred to cause the driver to fail. Please report this exception. at org.postgresql.Driver.connect(Driver.java:277) ~[postgresql-42.2.5.jar:42.2.5] at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175) ~[c3p0-0.9.5.5.jar:0.9.5.5] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220) ~[c3p0-0.9.5.5.jar:0.9.5.5] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206) ~[c3p0-0.9.5.5.jar:0.9.5.5] at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203) ~[c3p0-0.9.5.5.jar:0.9.5.5] at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176) ~[c3p0-0.9.5.5.jar:0.9.5.5] at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163) ~[c3p0-0.9.5.5.jar:0.9.5.5] at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696) ~[mchange-commons-java-0.2.19.jar:0.2.19] Caused by: java.lang.RuntimeException: Unsupported PBKDF2 for SCRAM-SHA-256