Re: Client Certificate authentication using JDBC driver

From: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
To: Brian Thomas <mynameisbt(at)hotmail(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Client Certificate authentication using JDBC driver
Date: 2013-09-05 16:37:03
Message-ID: 835557E3-70E8-43DC-A758-A8EC6082D406@jackdb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Check out the LibPQFactory[1]. I haven't used it myself (only looked over the code when writing another SSL factory) but it's supposed to handle using client certificates for auth. It's meant to mimic the behavior of the libpq library and generally accepts the same defaults for flags/cert locations.

[1]: https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/ssl/jdbc4/LibPQFactory.java

Regards,
Sehrope Sarkuni
Founder & CEO | JackDB, Inc. | http://www.jackdb.com/

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jim Garrison 2013-09-06 22:15:41 CopyManager API?
Previous Message dmp 2013-09-05 15:24:37 Re: pgjdbc Jekyll Website