From: Kris Jurka <books@ejurka.com>
To: Andrew M <andrew@jibeya.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: Fri, 10 Dec 2004 20:22:21 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0412102018080.31603@leary.csoft.net> (raw)
In-Reply-To: <8205B1BB-497B-11D9-870C-0003938366A4@jibeya.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>
On Thu, 9 Dec 2004, Andrew M wrote:
> last and final questions with all this. One the server side postgreSQL
> expects the following docs in the /data folder:
>
> 1. server.crt, server.key, root.crt, root.key
>
> 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:
>
> Where is postgresql expecting the certificate to come from, and what
> format does the certificate take (in terms of postgresql knowing that
> the client is a valid one)?
>
Currently the JDBC driver does not implement this functionality. The only
documention on this at all is for libpq here:
http://developer.postgresql.org/docs/postgres/libpq-ssl.html
It uses specific files relative to the user's $HOME directory. I don't
think this translates well into Java and I'm unsure what code would be
needed on the driver side to set this up. It would be great if someone
more Java+SSL knowledgeable could point us in the right direction here.
Kris Jurka
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: books@ejurka.com, andrew@jibeya.com
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
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>
* 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