Skip site navigation (1) Skip section navigation (2)

Re: Customizing SSL with jdbc

From: chinmoy gangolli <chinmoy(at)avaya(dot)com>
To: Kris Jurka <jurka(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Customizing SSL with jdbc
Date: 2004-09-15 03:15:44
Message-ID: 4147B3E0.9050508@avaya.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
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
>
>  
>

In response to

Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2004-09-15 05:36:18
Subject: Re: Customizing SSL with jdbc
Previous:From: Kris JurkaDate: 2004-09-15 02:38:36
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group