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 E0E59D1B1CE for ; Thu, 15 Jul 2004 10:41:05 -0300 (ADT) 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 71989-08 for ; Thu, 15 Jul 2004 13:41:06 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 5CA84D1B289 for ; Thu, 15 Jul 2004 10:40:51 -0300 (ADT) Received: (qmail 24719 invoked by uid 1112); 15 Jul 2004 13:40:59 -0000 Date: Thu, 15 Jul 2004 08:40:59 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Stefano Bonnin Cc: pgsql-jdbc@postgresql.org Subject: Re: SSL Problem In-Reply-To: <005401c46a50$b59e60c0$0501a8c0@comai04> Message-ID: References: <001601c469a8$87de94f0$0501a8c0@comai04> <005401c46a50$b59e60c0$0501a8c0@comai04> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 200407/185 X-Sequence-Number: 10569 On Thu, 15 Jul 2004, Stefano Bonnin wrote: > keytool -keystore /usr/local/j2sdk1.4.2_04/jre/lib/security/cacerts -alias > postgres -import -file server.crt.der > > What I did't undestand in this steps is the following: > > keytool -keystore ... etc ... > > import the certificate in the java keystore and the JDBC driver *must* find > the certificate in the keystore and download it on the client, is't true? (I > dont't know if this is true) BUT if my affermation is true HOW the JDBC > driver (on the client) can find it in > /usr/local/j2sdk1.4.2_04/jre/lib/security? The certificate must be available to the client. There is no "find and download" going on. These instructions were likely written for the client on the same machine as the server so it was not emphasized that the cert needs to be available to the client JVM. Kris Jurka