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 7641FD1B233 for ; Thu, 15 Jul 2004 11:03:51 -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 79474-07 for ; Thu, 15 Jul 2004 14:03:52 +0000 (GMT) Received: from smtp-bal.opennet.it (noder32-48.opennet.it [212.110.32.48]) by svr1.postgresql.org (Postfix) with SMTP id 20AB1D1B1AA for ; Thu, 15 Jul 2004 11:03:40 -0300 (ADT) Received: (qmail 29576 invoked from network); 15 Jul 2004 13:45:14 -0000 Received: from unknown (HELO comai04) (212.110.56.34) by 0 with SMTP; 15 Jul 2004 13:45:14 -0000 Message-ID: <011001c46a75$a35633f0$0501a8c0@comai04> From: "Stefano Bonnin" To: References: <001601c469a8$87de94f0$0501a8c0@comai04> <005401c46a50$b59e60c0$0501a8c0@comai04> Subject: Re: SSL Problem Date: Thu, 15 Jul 2004 16:11:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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/186 X-Sequence-Number: 10570 ok,thanks but now, do you have any idea? in the previuos e-mail I sent you only the server error now I send you the server log messages at postgres startup time: 2004-07-15 14:03:40 LOG: could not load root certificate file "/usr/local/pgsql-7.4.2/bin/../../pgsql-7.4.1/data/root.crt": No such file or directory DETAIL: Will not verify client certificates. 2004-07-15 14:03:40 LOG: could not create IPv6 socket: Famiglia dell'indirizzo non gestita dal protocollo 2004-07-15 14:03:40 LOG: database system was shut down at 2004-07-15 14:03:40 CEST 2004-07-15 14:03:40 LOG: checkpoint record is at 11/F6DC6DB4 2004-07-15 14:03:40 LOG: redo record is at 11/F6DC6DB4; undo record is at 0/0; shutdown TRUE 2004-07-15 14:03:40 LOG: next transaction ID: 27829164; next OID: 45696008 2004-07-15 14:03:40 LOG: database system is ready It doesn't find any root.crt, this is right, I think. Thanks in advance. RedS ----- Original Message ----- From: "Kris Jurka" To: "Stefano Bonnin" Cc: Sent: Thursday, July 15, 2004 3:40 PM Subject: Re: [JDBC] SSL Problem > > > 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 >