after i create keystore and CSR using keytool i went to openssl to create certificate then using keytool i tried to import this certificate the our keystore but i got this exception
keytool error: java.lang.Exception: Public keys in reply and keystore don't match Thanks
Joined: Aug 10, 2006
There is an alias option (-alias) that is common to the genkeypair, certreq, and importcert command. You must use the same alias for each command. If that doesn't help, you'll need to provide details about each of the commands.
Nice to meet you.
Joined: Jun 18, 2010
I am also facing the same kind of issue. I have already kept alias same everywhere. I need to have this to implement WS Security feature with my web services. I am testing it through self signed certs created by me.