Can I merge multiple Android keystore files into one?

倖福魔咒の 提交于 2019-12-05 21:51:26

[EDIT]

Now it's possible. Use KeyStore Explorer

[Older Answer Follows]

No

AFAIK, No. A keystore is usually used to identify a developer(or an app publisher). If you have used multiple keystores, you have to keep them all very safe now in order to maintain those applications now.

For now onwards, choose a single keystore and maintain several alias inside it for different applications.

Reference: http://developer.android.com/tools/publishing/app-signing.html

Yes You can merge all the keys from different keystores into one. Than there is no need to manage different keystores, you can change the alias of the key also, passwords for the key also, even a new keystore for existing keys.

You need to export all the keys first and than import into the destination keystore.

Remember you can still have different passwords for each key. Keystore password is separate from the key passwords.

Use the KeyStore Explorer

You can use keytool -export to export the keys from the old keystore into files an then keytool -import to import into another keystore, applying new aliases or the same than before. See keytool's man page for details of the command line.

I needed to download a fresh Java runtime to get a version of keytool that could open a recent keystore.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!