I'm following note 11591073.1 to get a java code signing certificate for our applications 12.1.3. When running step 4.5.3
> adjkey -import -file adkeystore.crt -trustcacerts
I got this error:
keytool error: java.lang.Exception: Public keys in reply and keystore don't match
Here are the steps before this:
1. adjkey -initialize -keysize 2048 -alias Comp_server1
2. adjkey -certreq -file $APPL_TOP/admin/adkeystore.csr
3. Send above .csr file to our in-house authority and got CA certificate .cer file.
4. adjkey -import -file adkeystore.crt -trustcacerts
and got the above error. Even after I added "-alias Comp_server1" in above import command it failed with the same error.