X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 8FBC711F68EC for ; Wed, 5 Apr 2006 11:41:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96114-01 for ; Wed, 5 Apr 2006 11:40:59 -0300 (ADT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 5ED6E11F693A for ; Wed, 5 Apr 2006 11:40:57 -0300 (ADT) Received: from alpha.uhasselt.be (alpha.uhasselt.be [193.190.2.30]) by svr4.postgresql.org (Postfix) with ESMTP id 91AF55AF864 for ; Wed, 5 Apr 2006 14:40:58 +0000 (GMT) Received: from localhost (datastorage.uhasselt.be [193.190.2.17]) by alpha.uhasselt.be (Postfix) with ESMTP id 310041AB17E for ; Wed, 5 Apr 2006 16:40:49 +0200 (CEST) Received: from [127.0.0.1] (unknown [193.190.10.8]) by alpha.uhasselt.be (Postfix) with ESMTP id 538D11AB130 for ; Wed, 5 Apr 2006 16:40:48 +0200 (CEST) Message-ID: <4433D6EB.8000702@quesd.com> Date: Wed, 05 Apr 2006 16:40:43 +0200 From: Stefan Verkoyen User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: do XA connections support SSL? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd antivirus & antispam cluster at uhasselt.be X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200604/45 X-Sequence-Number: 14979 Hi, in short: is SSL supported in combination with XA? Some background: I'm using the PosgreSQL jdbc driver (postgresql-8.1-404.jdbc3.jar) to connect to PostgreSQL 8.1.3 in JBoss 4.0.3SP1. I'm using the XA functionality (2PC in fact) to perform distributed transactions over 3 DBs. So I'm using XA Datasources in JBoss. I would like the connections to be encrypted with SSL. I know this is works for non-XA connections when the JDBC driver is used: org.postgresql.Driver. In my XA Datasource descriptor I need to use org.postgresql.xa.PGXADataSource This class, nor its subclass contain any ssl property to set. If SSL is not supported, I will need to use stunnel to encrypt the connections. Can anybody confirm? Thanks & best regards, Stefan