Re: SSL & client config.

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: <devAng(at)libero(dot)it>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: SSL & client config.
Date: 2009-07-16 11:44:05
Message-ID: D960CB61B694CF459DCFB4B0128514C203937E43@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message devAng@libero.it 2009-07-17 08:24:18 R: RE: Re: SSL & client config.
Previous Message devAng@libero.it 2009-07-16 09:24:07 R: Re: SSL & client config.