Re: Support for cert auth in JDBC - Mailing list pgsql-jdbc

From Craig Ringer
Subject Re: Support for cert auth in JDBC
Date
Msg-id 4DD3D1B0.90602@postnewspapers.com.au
Whole thread Raw
In response to Re: Support for cert auth in JDBC  (Marc-André Laverdière<marc-andre@atc.tcs.com>)
List pgsql-jdbc
Oh, also, your code has a simple thinko or copy-n-paste bug. On line 79:

fInTrustStore = new FileInputStream(keyPath);

should read:

fInTrustStore = new FileInputStream(trustPath);

Currently, trustPath never escapes the method and is effectively unused;
it's only tested for null/empty, then ignored.

--
Craig Ringer

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Support for cert auth in JDBC
Next
From: Kris Jurka
Date:
Subject: Re: Support for cert auth in JDBC