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 D2F3432AF9E for ; Mon, 11 Oct 2004 22:00:09 +0100 (BST) 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 67662-09 for ; Mon, 11 Oct 2004 20:59:59 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id C615032ADC9 for ; Mon, 11 Oct 2004 21:59:59 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CH7GD-0000T1-00; Tue, 12 Oct 2004 09:59:13 +1300 Message-ID: <416AF41F.3080405@opencloud.com> Date: Tue, 12 Oct 2004 09:59:11 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ulrich Meis Cc: pgsql-jdbc@postgresql.org Subject: Re: A solution to the SSL customizing problem References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> In-Reply-To: <200410111752.33375.kenobi@halifax.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 200410/90 X-Sequence-Number: 11195 Ulrich Meis wrote: > I propose a different solution. [...] This seems like a subset of the other solutions suggested. If you can configure the SSLSocketFactory used, you can use a class just like the one you provided without requiring that everyone uses it. I'd rather see a flexible solution that can be customized to the needs of a particular application. For example, the code that you provided assumes that there is one global truststore and that it is a Java-format keystore that is accessible locally. Neither of those are necessarily true. -O