pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: devAng@libero.it <devAng@libero.it>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: SSL & client config.
Date: Wed, 15 Jul 2009 11:46:25 +0200 (CEST)
Message-ID: <940167.20481247651185171.JavaMail.defaultUser@defaultHost> (raw)

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.




view thread (3+ messages)  latest in thread

Message-ID: <940167.20481247651185171.JavaMail.defaultUser@defaultHost>
Permalink:  ../940167.20481247651185171.JavaMail.defaultUser@defaultHost/
Also on:    postgresql.org/message-id/940167.20481247651185171.JavaMail.defaultUser@defaultHost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: devAng@libero.it
  Subject: Re: SSL & client config.
  In-Reply-To: <940167.20481247651185171.JavaMail.defaultUser@defaultHost>
  References: <940167.20481247651185171.JavaMail.defaultUser@defaultHost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox