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 C16FB3A5455 for ; Sat, 11 Dec 2004 08:11:37 +0000 (GMT) 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 62046-05 for ; Sat, 11 Dec 2004 08:11:33 +0000 (GMT) Received: from hogranch.com (hogranch.com [66.117.128.240]) by svr1.postgresql.org (Postfix) with ESMTP id 7D7EB3A4955 for ; Sat, 11 Dec 2004 08:11:31 +0000 (GMT) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id iBB8BEV31511; Sat, 11 Dec 2004 00:11:14 -0800 Message-ID: <41BAABA2.9070100@hogranch.com> Date: Sat, 11 Dec 2004 00:11:14 -0800 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: Andrew M , pgsql-jdbc@postgresql.org Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com> <200412071137.04871@vadim.nasardinov> <200412080837.57840@vadim.nasardinov> <8205B1BB-497B-11D9-870C-0003938366A4@jibeya.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/82 X-Sequence-Number: 11748 > It uses specific files relative to the user's $HOME directory. I don't > think this translates well into Java and I'm unsure what code would be > needed on the driver side to set this up. It would be great if someone > more Java+SSL knowledgeable could point us in the right direction here. if the jdbc driver is using J2SE 1.4 style SecureSockets, then the certificate store is in ${JAVA_HOME}/lib/security (%JAVA_HOME%\lib\security on Windows) there is a keytool command in J2SE to manipuate and generate these keys. http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html