Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 99E956329B9 for ; Wed, 15 Jul 2009 06:46:38 -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 99078-08 for ; Wed, 15 Jul 2009 06:46:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from cp-out3.libero.it (cp-out3.libero.it [212.52.84.103]) by mail.postgresql.org (Postfix) with ESMTP id B31D06329B2 for ; Wed, 15 Jul 2009 06:46:27 -0300 (ADT) Received: from wmail48 (172.31.0.238) by cp-out3.libero.it (8.5.107) id 4A54901E0062BF19 for pgsql-jdbc@postgresql.org; Wed, 15 Jul 2009 11:46:25 +0200 Message-ID: <940167.20481247651185171.JavaMail.defaultUser@defaultHost> Date: Wed, 15 Jul 2009 11:46:25 +0200 (CEST) From: "devAng@libero.it" Reply-To: "devAng@libero.it" To: "pgsql-jdbc@postgresql.org" Subject: 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/35 X-Sequence-Number: 19803 Hi, I am trying to setup a client JDBC with SSL, use the guide http://jdbc. postgresql.org/documentation/80/ssl-client.html make the server certificate available to Java openssl x509 -in server.crt -out server.crt.der -outform der get server.crt.der follow keytool -keystore $JAVA_HOME/lib/security/cacerts -alias postgresql -import -file server.crt.der error : Keystore was tampered with, or password was incorrect ? But the password is correct!!!!!!!! I'm confused help-me please. Ps: Postgresql from shell with SSL works.