pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: Andrew M <andrew@jibeya.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: Sun, 12 Dec 2004 11:54:59 +1300
Message-ID: <41BB7AC3.6040301@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0412102018080.31603@leary.csoft.net>
References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com>
	<200412071137.04871@vadim.nasardinov>
	<C8726946-4900-11D9-870C-0003938366A4@jibeya.com>
	<200412080837.57840@vadim.nasardinov>
	<8205B1BB-497B-11D9-870C-0003938366A4@jibeya.com>
	<Pine.BSO.4.56.0412102018080.31603@leary.csoft.net>

Kris Jurka wrote:
> 
> On Thu, 9 Dec 2004, Andrew M wrote:
> 
>>Now for the for handshaking to be successful with the root docs in the 
>>/data folder, postgresql expects the client to return a certificate. So 
>>my question is:
>>
> Currently the JDBC driver does not implement this functionality.  [...]

Now that we have a sslfactory URL arg, can't you implement a 
SSLSocketFactory that provides the right client-certificate-lookup 
logic? You'd return a socket created via a SSLContext initialized with 
an appropriate KeyManager (and TrustManager obviously).

-O



view thread (25+ messages)  latest in thread

Message-ID: <41BB7AC3.6040301@opencloud.com>
Permalink:  ../41BB7AC3.6040301@opencloud.com/
Also on:    postgresql.org/message-id/41BB7AC3.6040301@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, books@ejurka.com, andrew@jibeya.com
  Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
  In-Reply-To: <41BB7AC3.6040301@opencloud.com>
  References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com> <200412071137.04871@vadim.nasardinov> <C8726946-4900-11D9-870C-0003938366A4@jibeya.com> <200412080837.57840@vadim.nasardinov> <8205B1BB-497B-11D9-870C-0003938366A4@jibeya.com> <Pine.BSO.4.56.0412102018080.31603@leary.csoft.net> <41BB7AC3.6040301@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox