From: Phil Moors <pmoors@ncric.com>
To: pgsql-jdbc List <pgsql-jdbc@postgresql.org>
Subject: Re: SSL URL
Date: Wed, 21 Jul 2004 16:44:54 -0400
Message-ID: <1090442694.27063.20.camel@pm0> (raw)
In-Reply-To: <Pine.BSO.4.56.0407211539270.9870@leary.csoft.net>
References: <1090441973.27063.17.camel@pm0>
<Pine.BSO.4.56.0407211539270.9870@leary.csoft.net>
On Wed, 2004-07-21 at 16:43, Kris Jurka wrote:
> On Wed, 21 Jul 2004, Phil Moors wrote:
>
> > pg 7.4.2-1
> > pg74.214.jdbc3.jar
> >
> > I'd like to use this jdbc driver with ColdFusion. However, CF seems to
> > have hard coded their jdbc driver configuration to only accept some
> > standard parameters. I can't find a way to pass SSLMODE=require to the
> > darn thing. The CF manual also says that the use of CONNECTSTRING is not
> > enabled for the jdbc interface. Go figure.
>
> Surely there must be a way of specifying parameters to it. Could you
> explain how you are currently establishing the connection?
>
> > Where would I tweak the source to set the jdbc driver to default to SSL?
>
> If this is the only way to do it, then in the 7.4 source tree see
> org/postgresql/jdcb1/AbstractJdbc1Connection.java in the openConnection
> method:
>
> if (info.getProperty("ssl") != null && Driver.sslEnabled())
> {
> useSSL = true;
> }
> else
> {
> useSSL = false;
> }
>
>
> Kris Jurka
Thanks!
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: pmoors@ncric.com
Subject: Re: SSL URL
In-Reply-To: <1090442694.27063.20.camel@pm0>
References: <1090441973.27063.17.camel@pm0> <Pine.BSO.4.56.0407211539270.9870@leary.csoft.net> <1090442694.27063.20.camel@pm0>
* 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