Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 501F79FB262 for ; Fri, 2 Feb 2007 19:34:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 94046-02 for ; Fri, 2 Feb 2007 19:33:58 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by postgresql.org (Postfix) with ESMTP id 584A09FAC76 for ; Fri, 2 Feb 2007 19:34:07 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so807824ugf for ; Fri, 02 Feb 2007 15:34:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bZ1XPfDa7R9ikNVOIytiJEf8thCPvFzTcuX8NBM42B3o7Q68dNvgWRLfmeGRWRVPq2gGb2mp79MuygbwEKXDanfCkpUQdIUIquzKAp8x30QgzX6J0kYljT6s43ya+MVaNUpV+h+mSia3AwadlaLrWPY1bBPDV51PSoL9W7dM7KA= Received: by 10.82.120.15 with SMTP id s15mr1446974buc.1170459245226; Fri, 02 Feb 2007 15:34:05 -0800 (PST) Received: by 10.82.177.19 with HTTP; Fri, 2 Feb 2007 15:34:05 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 15:34:05 -0800 From: "Robert Spies" To: pgsql-jdbc@postgresql.org Subject: Jdbc3PoolingDataSource ssl question MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/20 X-Sequence-Number: 16576 Hello, I am using the Jdbc3PoolingDataSource to set up a connection pool. I am using it in the following manner: Jdbc3PoolingDataSource source = new Jdbc3PoolingDataSource(); source.setDataSourceName("DB data source"); source.setServerName("localhost"); source.setDatabaseName("test"); source.setUser("testuser"); source.setPassword("testpassword"); source.setMaxConnections(10); ... Connection con = source.getConnection(); The problem is that I want to use ssl when connection to the database, but I cannot figure out how to enable ssl with the Jdbc3PoolingDataSource. Can anyone help me? Thanks.