R: RE: Re: SSL & client config.

Поиск
Список
Период
Сортировка
Искать

R: RE: Re: SSL & client config.

От:
"devAng@libero.it" <devAng@libero.it>
Дата:


>----Messaggio originale----
>Da: laurenz.albe@wien.gv.at
>Data: 16/07/2009 
13.44
>A: , 
>Ogg: RE: Re: [JDBC] 
SSL & 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.

FAQ