RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)

From: "McDermott, Becky" <bmcderm(at)sandia(dot)gov>
To: Dave Cramer <davecramer(at)postgres(dot)rocks>
Cc: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, "pgsql-jdbc(at)lists(dot)postgresql(dot)org" <pgsql-jdbc(at)lists(dot)postgresql(dot)org>
Subject: RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)
Date: 2022-03-29 14:26:38
Message-ID: BY3PR09MB862726657380A9B12CC1BED8C81E9@BY3PR09MB8627.namprd09.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>> From: Dave Cramer <davecramer(at)postgres(dot)rocks>
>> Sent: Monday, March 28, 2022 9:04 AM
>> Honestly I don't know. What I would do is try this on a redhat machine (not in a docker container) to start with. If that fails then you have somewhere to start.
I rebuilt my container using “FROM openjdk:11” and deployed my test application to our Kubernetes cluster. Now when I look at the pod logs, I can see that it is successfully connecting:
About to try connecting to postreSQL database ...
Connected to the PostgreSQL server successfully
Successfully connected to the database!! Try running a query
Inside main - about to enter a long loop
Looping a set number of times ... Loop Iteration: 1
Looping a set number of times ... Loop Iteration: 2
Looping a set number of times ... Loop Iteration: 3
Looping a set number of times ... Loop Iteration: 4
So openjdk:11 appears to have the cryptography libraries in the JVM. Now we can figure out what is missing from our Iron Bank base image.
Thank you so much everyone for your help. I believe we are on the right track to getting our application running on FIPS enabled hosts.
I really appreciate everyone’s input.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2022-03-30 13:18:59 Re: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)
Previous Message Uwe Schindler 2022-03-29 12:53:00 [pgjdbc/pgjdbc] 3d14ea: feat: add support for ResultSet#getObject(OffsetTi...