pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: Ulrich Meis <kenobi@halifax.rwth-aachen.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: A solution to the SSL customizing problem
Date: Mon, 18 Oct 2004 08:32:16 +1300
Message-ID: <4172C8C0.6030501@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0410170656300.10233@leary.csoft.net>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de>
	<200410151621.49160.kenobi@halifax.rwth-aachen.de>
	<4170289B.6060108@opencloud.com>
	<200410160441.29561.kenobi@halifax.rwth-aachen.de>
	<Pine.BSO.4.56.0410170656300.10233@leary.csoft.net>

Kris Jurka wrote:

> In the non-validating factory I have a SSLContext.getInstance("TLS"), but 
> I've also seen it use "SSL".  Is either preferred or does it matter for 
> pg?

http://java.sun.com/j2se/1.4.2/docs/guide/security/jsse/JSSERefGuide.html#AppA 
has a list of 'standard' protocol names. "TLS" supports the largest set 
of protocols, I believe.

> I've been building the jdbc2ee jar files against the actual j2sdkee1.2.1, 
> not just the jdbc optional package.  This includes support for 
> javax.net.ssl.SSLSocketFactory, but not javax.net.ssl.SSLContext and 
> associated classes which are in com.sun.net.ssl instead.  So at the moment 
> I've modified the ssl requirements to not build ssl into this 
> particular jar.  What do we want to do about this:
> 
>  - nothing, the ee really meant datasource and was never meant to
>    include ssl
>  - make the existing ssl support work by not building the 
>    NonValidingFactory class

Either of these look OK to me.

>  - make everything work by building the NonValidatingFactory by importing
>    from com.sun.net.ssl instead.

I think this is a bad idea, it'd break the build on non-Sun JDKs.

-O



view thread (31+ messages)  latest in thread

Message-ID: <4172C8C0.6030501@opencloud.com>
Permalink:  ../4172C8C0.6030501@opencloud.com/
Also on:    postgresql.org/message-id/4172C8C0.6030501@opencloud.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: oliver@opencloud.com, books@ejurka.com, kenobi@halifax.rwth-aachen.de
  Subject: Re: A solution to the SSL customizing problem
  In-Reply-To: <4172C8C0.6030501@opencloud.com>
  References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> <200410151621.49160.kenobi@halifax.rwth-aachen.de> <4170289B.6060108@opencloud.com> <200410160441.29561.kenobi@halifax.rwth-aachen.de> <Pine.BSO.4.56.0410170656300.10233@leary.csoft.net> <4172C8C0.6030501@opencloud.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