Re: PostgreSQL + SSL - sun.security.validator.ValidatorException

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Andrew M <andrew(at)jibeya(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: 2004-12-11 22:54:59
Message-ID: 41BB7AC3.6040301@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andrew M 2004-12-12 07:31:45 Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Previous Message Kris Jurka 2004-12-11 20:13:34 Re: PostgreSQL + SSL - sun.security.validator.ValidatorException