丢失密钥库别名,但有用于别名的文件和密码 [英] Lost keystore alias but have file and password used for alias

查看:11
本文介绍了丢失密钥库别名,但有用于别名的文件和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我为我的密钥库添加了一个新别名来签署我的应用程序.

recently I added a new alias to my keystore to sign my app.

现在我丢失了带有别名的新生成文件,但请记住密码和别名,并拥有一个较旧的文件副本.有没有办法使用这些东西重新创建别名?

Now I lost the new generated file with the alias, but remember the password and the alias name and have an older copy the file. Is there a way to recreate the alias using this things?

推荐答案

您可以使用以下命令列出您的密钥库的内容:

You can list the contents of your keystore with the command:

keytool -list -keystore <name of keystore file>

为此,您需要提供密钥库密码(不是别名密码).这将告诉您文件中的别名,这些别名是自包含的,允许您签名.如果您愿意,您还可以使用其他选项/工具提取密钥.

To do this, you will need to provide the keystore password (not the alias password). This will tell you the aliases in the file, which are self-contained, allowing you to sign. If you wish, you could also extract keys using other options / tools.

这篇关于丢失密钥库别名,但有用于别名的文件和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆