Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6341E632820 for ; Sat, 1 May 2010 12:45:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 15771-09 for ; Sat, 1 May 2010 15:45:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 32FD3632582 for ; Sat, 1 May 2010 12:45:18 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 3259F28420; Sat, 1 May 2010 11:45:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=HiUg3mGmmNZX60bVycXzN0W5tZ8=; b=NesBJL CZjRyYjv4rlvOPk/ROavFvsx3tJo1EPjUyRu5LI18DjxkUJlCdimlQvOwpjtZv2i SpipivawPvjs3amUJ8dhrNxybFZ1sFoKeGn5pMqCo7MGdwkgJltiYgN6dGUKeQDx xbYgiSvNOktxrjvQ4CC+rbuiczA/skrph1knc= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 2F23B2840F; Sat, 1 May 2010 11:45:17 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 23220A3B3; Sat, 1 May 2010 11:45:17 -0400 (EDT) Date: Sat, 1 May 2010 11:45:17 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Eric Jain cc: pgsql-jdbc@postgresql.org Subject: Re: How to ensure that SSL is enabled? In-Reply-To: Message-ID: References: <1256010332.6437.74.camel@wallace.localnet> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/6 X-Sequence-Number: 20490 On Tue, 27 Oct 2009, Kris Jurka wrote: > > > On Mon, 26 Oct 2009, Eric Jain wrote: > >> >> Looks like what's happening is that PGPoolingDataSource is ignoring >> ssl=true. When I switch to PGSimpleDataSource, an SSL connection is >> established. > > Looks like PGPoolingDataSource is busted and not just for SSL, but for a > wide variety of connection options. There's some code which copies over > most of the options one at a time from the DataSource to a > ConnectionPoolDataSource and it hasn't been updated in a long time. It > would be easy to add SSL to the list, but that code needs to be > rewritten to something that's less fragile. > Fixed in CVS. Kris Jurka