I have an older keystore and I would like to export one of my apps
from it and import that key into my newer keystore.

I have tried:
keytool -exportcert -keystore keystore.file -file certfile

This command exports my cert file.  Next I import it into my new
keystore:
keytool -importcert -keystore newkeystore.file -alias myalias -file
certfile

The newly imported key shows up as "trustedCertEntry" instead of
PrivateKeyEntry.

<imported app>, Nov 22, 2009, trustedCertEntry,
Certificate fingerprint (MD5): 61:AD:99:D2:EE:2E:4F:AC:20:FE:03:40:0F:
7E:A5:12
<older app>, Aug 17, 2009, PrivateKeyEntry,
Certificate fingerprint (MD5): F0:A9:21:92:3B:E4:9C:
74:D7:C1:C3:45:7C:FE:E8:C7

When I try to sign a file with jarsigner it does not find the alias
and just spits out the error that it doesn't find it in my keystore.
What step did I miss?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to