JDBC and certificates - Mailing list pgsql-jdbc

From Magnus Hagander
Subject JDBC and certificates
Date
Msg-id 491C1FC5.80806@hagander.net
Whole thread Raw
Responses Re: JDBC and certificates  (Kris Jurka <books@ejurka.com>)
Re: JDBC and certificates  (Vic Simkus <vsimkus@uic.edu>)
List pgsql-jdbc
Hi!

As I'm sure some of you have seen, I've been overhauling the SSL stuff
in libpq for 8.4, and also added some new server functions.

I'd like to verify, well before the release, where the JDBC driver
stands on these same issues, and try to make sure we have a common
standpoint to dealing with this. Now, I don't actually use the JDBC
driver myself - not a java guy - so pardon me for just asking these
questions straight out even if it should be obvious :)

1) It is my understanding that the JDBC driver will do certificate
validation of the servers certificate by default. Can someone confirm this?

2) Does the JDBC driver support client certificates, and if so, how?
This *should* require no changes to work with the client certificate
authentication method I'm hoping to get into 8.4, but it would be good
to test that :-) And if it's not supported now, how much work would it
be to add support for it?

Thanks!


//Magnus

(I take it this list works like the other pg ones but just in case - I'm
not on the list, so please CC any responses)

pgsql-jdbc by date:

Previous
From: "Shawn Chasse"
Date:
Subject: Re: Pgsql jdbc driver 8.3 Build 603: Commit deadlock
Next
From: Kris Jurka
Date:
Subject: Re: JDBC and certificates