Re: Client Certificate Authentication

From: Ian Pilcher <arequipeno(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Client Certificate Authentication
Date: 2013-03-15 22:45:42
Message-ID: ki08aj$cj3$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Heikki Linnakangas 2013-03-16 15:18:38 Re: Re: [pgjdbc] XADataSource support for resource sharing & interleaving. (#47)
Previous Message Bryan Varner 2013-03-15 21:29:56 Re: Re: [pgjdbc] XADataSource support for resource sharing & interleaving. (#47)