pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Andrew M <andrew@jibeya.com>
Cc: John R Pierce <pierce@hogranch.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: Sat, 11 Dec 2004 07:33:41 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0412110728120.2747@leary.csoft.net> (raw)
In-Reply-To: <431C280A-4B5E-11D9-A341-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>
	<Pine.BSO.4.56.0412102018080.31603@leary.csoft.net>
	<41BAABA2.9070100@hogranch.com>
	<431C280A-4B5E-11D9-A341-0003938366A4@jibeya.com>



On Sat, 11 Dec 2004, Andrew M wrote:

> The only problem with this is, how do you copy an openssl {key|crt} 
> pair into a keytool keystore?

No this isn't the problem.  The problem is telling the SSL implementation
that you want to use this cert for client authentication.  The best I can
gather is that you would need to implement a javax.net.ssl.X509KeyManager
and make chooseClientAlias() return the alias of the cert you want to use
in the keystore.  Implementing a X509KeyManager does not look like an easy
thing to do though and there doesn't seem to be a good way of only
extending part of it and falling back to the default implmentation for the 
rest.

Kris Jurka



view thread (25+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0412110728120.2747@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0412110728120.2747@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0412110728120.2747@leary.csoft.net

 · 

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: books@ejurka.com, andrew@jibeya.com, pierce@hogranch.com
  Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
  In-Reply-To: <Pine.BSO.4.56.0412110728120.2747@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> <41BAABA2.9070100@hogranch.com> <431C280A-4B5E-11D9-A341-0003938366A4@jibeya.com> <Pine.BSO.4.56.0412110728120.2747@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