Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id E8EC7633ED9 for ; Fri, 17 Jul 2009 05:24:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 84788-05-2 for ; Fri, 17 Jul 2009 05:24:33 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from cp-out1.libero.it (cp-out1.libero.it [212.52.84.101]) by mail.postgresql.org (Postfix) with ESMTP id 85E066343C9 for ; Fri, 17 Jul 2009 05:24:20 -0300 (ADT) Received: from wmail56 (172.31.0.247) by cp-out1.libero.it (8.5.107) id 4A5ADB4900498885; Fri, 17 Jul 2009 10:24:18 +0200 Message-ID: <19443575.168431247819058078.JavaMail.defaultUser@defaultHost> Date: Fri, 17 Jul 2009 10:24:18 +0200 (CEST) From: "devAng@libero.it" Reply-To: "devAng@libero.it" To: , Subject: R: RE: Re: SSL & client config. MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 85.44.178.19 X-Priority: 2 (High) Importance: high X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200907/39 X-Sequence-Number: 19807 >----Messaggio originale---- >Da: laurenz.albe@wien.gv.at >Data: 16/07/2009 13.44 >A: , >Ogg: RE: Re: [JDBC] SSL & client config. > >devAng wrote: >> there are the step : > >> >openssl req -new -text -out server.req >> >> enter PEM >> pass phrase: mypassword >> verifying enter PEM pass : mypassword >> .. > >[...] > >> Import this certificate into Java's system >> truststore >> >> >> >keytool - keystore $JAVA_HOME/lib/security/cacerts -alias >> postgresql -import -file c:/Openssl/bin/server.crt.der >> >> password of keystore: >> mypassword >> >> >> Error keytool: java.io.IOException: Keystore was tampered >> with, or password was incorrect. >> >> where is the error ? I'm confused. > >The way it looks to me, the error is that "mypassword" is not the password >of your Java key store. It is the password for your private key. > >Yours, >Laurenz Albe > Hi, Ok the error is that "mypassword" is not the password of Java key store. I found the java keystore password and now the certificate was added to java keystore. many thanks. Bye,bye.