Re: SSL & client config. - Mailing list pgsql-jdbc

From Albe Laurenz
Subject Re: SSL & client config.
Date
Msg-id D960CB61B694CF459DCFB4B0128514C203937E43@exadv11.host.magwien.gv.at
Whole thread Raw
In response to R: Re: SSL & client config.  ("devAng@libero.it" <devAng@libero.it>)
List 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

pgsql-jdbc by date:

Previous
From: "devAng@libero.it"
Date:
Subject: R: Re: SSL & client config.
Next
From: "devAng@libero.it"
Date:
Subject: R: RE: Re: SSL & client config.