Re: Client Certificate Authentication - Mailing list pgsql-jdbc

From Ian Pilcher
Subject Re: Client Certificate Authentication
Date
Msg-id ki08aj$cj3$1@ger.gmane.org
Whole thread Raw
In response to Re: Client Certificate Authentication  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
On 03/15/2013 01:32 PM, Dave Cramer wrote:
> To my knowledge this has not been implemented.

It should be possible with a custom SSLSocketFactory.  See
http://jdbc.postgresql.org/documentation/head/ssl-factory.html.

(You'll need to load your client into a KeyStore, pass that KeyStore to
SSLContext.init(), and use that context to create your factories.)

HTH

--
========================================================================
Ian Pilcher                                         arequipeno@gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================

pgsql-jdbc by date:

Previous
From: Bryan Varner
Date:
Subject: Re: Re: [pgjdbc] XADataSource support for resource sharing & interleaving. (#47)
Next
From: Heikki Linnakangas
Date:
Subject: Re: Re: [pgjdbc] XADataSource support for resource sharing & interleaving. (#47)