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

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: "McDermott, Becky" <bmcderm(at)sandia(dot)gov>
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-30 13:18:59
Message-ID: CADK3HHJwLx+SkAaxFZO67Asb65opWdN+C4qmJzrKdgwCdtHaJA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Becky,

On Tue, 29 Mar 2022 at 10:26, McDermott, Becky <bmcderm(at)sandia(dot)gov> wrote:

> >> *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.
>

Please post your findings here. We really appreciate it when people find a
solution and post the solution so that others can benefit.

Regards,

Dave

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message McDermott, Becky 2022-03-30 13:49:18 RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)
Previous Message McDermott, Becky 2022-03-29 14:26:38 RE: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)