pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Albe Laurenz <all@adv.magwien.gv.at>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SSL support for javax.sql.DataSource
Date: Fri, 6 Jul 2007 16:51:09 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0707061636360.10158@leary.csoft.net> (raw)
In-Reply-To: <AFCCBB403D7E7A4581E48F20AF3E5DB20375C3C4@EXADV1.host.magwien.gv.at>
References: <AFCCBB403D7E7A4581E48F20AF3E5DB203689E86@EXADV1.host.magwien.gv.at>
	<Pine.BSO.4.64.0706191248400.15629@leary.csoft.net>
	<AFCCBB403D7E7A4581E48F20AF3E5DB20375C3C4@EXADV1.host.magwien.gv.at>



On Wed, 20 Jun 2007, Albe Laurenz wrote:

> Should I go ahead and write a patch against CVS HEAD, including 
> sslfactory? I guess I should write a patch or the documentation too 
> then.

Yes, please.

> As you say, that discussion should happen elsewhere, but I believe that
> SSL without certificate validation would be a good default
> because this is the way it is done everywhere else in PostgreSQL.
>

One of the ideas that Oliver had was to make the ssl parameter take a 
String value so you could say things like ssl=try or ssl=require or 
ssl=none.  See the brief code around 
org.postgresql.core.v3.ConnectionFactoryImpl#openConnectionImpl.  We could 
do that and add ssl=validate or ssl=novalidate.  That would make it easier 
for people to change the validation setting without getting into the 
details of sslfactory.  I didn't think ssl=try was a real useful setting 
so resisted the idea at the time, but now that there are more interesting 
options perhaps we should give the idea another look.

Kris Jurka




view thread (7+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0707061636360.10158@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0707061636360.10158@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0707061636360.10158@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, all@adv.magwien.gv.at
  Subject: Re: SSL support for javax.sql.DataSource
  In-Reply-To: <Pine.BSO.4.64.0707061636360.10158@leary.csoft.net>
  References: <AFCCBB403D7E7A4581E48F20AF3E5DB203689E86@EXADV1.host.magwien.gv.at> <Pine.BSO.4.64.0706191248400.15629@leary.csoft.net> <AFCCBB403D7E7A4581E48F20AF3E5DB20375C3C4@EXADV1.host.magwien.gv.at> <Pine.BSO.4.64.0707061636360.10158@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