pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chinmoy gangolli <chinmoy@avaya.com>
To: Kris Jurka <jurka@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Customizing SSL with jdbc
Date: Tue, 14 Sep 2004 21:15:44 -0600
Message-ID: <4147B3E0.9050508@avaya.com> (raw)
In-Reply-To: <1095206324.1000.25.camel@doug.ejurka.com>
References: <413E0480.8010306@avaya.com>
	<Pine.BSO.4.56.0409130237370.2396@leary.csoft.net>
	<4145B31C.3000201@avaya.com>
	<1095206324.1000.25.camel@doug.ejurka.com>

Kris
    Thanks again. This would certainly work for my scenario. A similar 
option for client authentication might also be useful.
Chinmoy.

Kris Jurka wrote:

>On Mon, 2004-09-13 at 07:47, chinmoy wrote:
>  
>
>>Hi
>>    Thanks for the reply. The only thing special about the factory is 
>>that it has access to the server certificate that is bundled with the 
>>client jars and is not installed in the jvm's trust store. I agree the 
>>static method is not the way to go as it affects all the connections. In 
>>my specific case it is okay as I know all the clients using the 
>>connections in  agiven client jvm.
>>    
>>
>
>What about an additional URL parameter like
>sslfactoryfactory=com.mycompany.myfactory, where the provided class must
>implement something like:
>
>package org.postgresql;
>
>interface SSLSocketFactoryFactory {
>	public SSLSocketFactory getFactory();
>}
>
>Seems like this could work.  Thoughts?  Any other SSL options and things
>people would want to tweak?
>
>Kris Jurka
>
>  
>

view thread (8+ messages)  latest in thread

Message-ID: <4147B3E0.9050508@avaya.com>
Permalink:  ../4147B3E0.9050508@avaya.com/
Also on:    postgresql.org/message-id/4147B3E0.9050508@avaya.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: chinmoy@avaya.com, jurka@ejurka.com
  Subject: Re: Customizing SSL with jdbc
  In-Reply-To: <4147B3E0.9050508@avaya.com>
  References: <413E0480.8010306@avaya.com> <Pine.BSO.4.56.0409130237370.2396@leary.csoft.net> <4145B31C.3000201@avaya.com> <1095206324.1000.25.camel@doug.ejurka.com> <4147B3E0.9050508@avaya.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