Public keys in reply and keystore don't match
843811Mar 7 2002 — edited May 21 2009Hi,
I try to sign a certrequest wiht open ssl and import the result in my keystore.
But it doesn't work, I get the error message:
keytool error: java.lang.Exception: Public keys in reply and keystore don't match
here is what I do (obmitting aliases, filenames, and passwords):
- I create a keypair using keytool -genkey -keyalg RSA
- I create a certification request using keytool -certreq
- I get it signed with open ssl: openssl x509 -req -days 365 -in xxx.req -signkey xxx.private -out xxx.key
- I try to import the result into my keystore: keytool -import
and end up with the exception mentioned above.
any help would be apreciated
Spieler