当您不知道密钥库的密码时,如何重设密钥库? [英] How to reset keystores when you do not know their password?
问题描述
由于某种原因,我收到了此消息:
For some reason I got this message:
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
我知道我无法修复"密钥库,但是我想重置密钥库,但不知道如何操作,尤其是因为我不知道默认密钥库的位置.
I know that I cannot "repair" the keystore, but I want to reset the keystore, but don't know how to do it, especially because I do not know the location of the default keystores.
注意:我只希望它们空白",所以我从默认值重新启动.仍然我什至无法检测到他们的位置.
Note: I just want the "blank" them so I restart from default. Still I wasn't even able to detect their location.
如何使用keytool或类似工具列出默认密钥库及其位置?
How can I list default keystores and their locations with keytool or something similar?
推荐答案
只需删除~/.keystore
文件,这是默认的密钥存储位置.
Just remove ~/.keystore
file, which is the default keystore location.
这篇关于当您不知道密钥库的密码时,如何重设密钥库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!