X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7AE72D1B2BD for ; Wed, 21 Jul 2004 17:43:39 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46882-02 for ; Wed, 21 Jul 2004 20:43:35 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 41612D1B18A for ; Wed, 21 Jul 2004 17:43:30 -0300 (ADT) Received: (qmail 10801 invoked by uid 1112); 21 Jul 2004 20:43:30 -0000 Date: Wed, 21 Jul 2004 15:43:30 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Phil Moors Cc: pgsql-jdbc List Subject: Re: SSL URL In-Reply-To: <1090441973.27063.17.camel@pm0> Message-ID: References: <1090441973.27063.17.camel@pm0> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/249 X-Sequence-Number: 10633 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