Re: Customizing SSL with jdbc - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Customizing SSL with jdbc
Date
Msg-id 1095206324.1000.25.camel@doug.ejurka.com
Whole thread Raw
In response to Customizing SSL with jdbc  (chinmoy <chinmoy@avaya.com>)
Responses Re: Customizing SSL with jdbc
Re: Customizing SSL with jdbc
List pgsql-jdbc
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


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Next
From: Kris Jurka
Date:
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION