pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: devAng@libero.it <devAng@libero.it>
To: laurenz.albe@wien.gv.at
To: pgsql-jdbc@postgresql.org
Subject: R: RE: Re: SSL & client config.
Date: Fri, 17 Jul 2009 10:24:18 +0200 (CEST)
Message-ID: <19443575.168431247819058078.JavaMail.defaultUser@defaultHost> (raw)



>----Messaggio originale----
>Da: laurenz.albe@wien.gv.at
>Data: 16/07/2009 
13.44
>A: <devAng@libero.it>, <pgsql-jdbc@postgresql.org>
>Ogg: RE: Re: [JDBC] 
SSL &amp; 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.




Message-ID: <19443575.168431247819058078.JavaMail.defaultUser@defaultHost>
Permalink:  ../19443575.168431247819058078.JavaMail.defaultUser@defaultHost/
Also on:    postgresql.org/message-id/19443575.168431247819058078.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, laurenz.albe@wien.gv.at
  Subject: Re: R: RE: Re: SSL & client config.
  In-Reply-To: <19443575.168431247819058078.JavaMail.defaultUser@defaultHost>
  References: <19443575.168431247819058078.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