且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

KeyTool错误:java.lang.Exception:别名不存在

更新时间:2023-01-15 16:39:09

检查别名是否存在.您可以使用以下方式列出所有条目:

Check if the alias exists. You can list all entries using:

keytool -list -keystore "C:\Program Files\Java\jdk1.7.0_79\jre\lib\cacerts" -storepass changeit

此命令将显示文件中所有现有的别名.如果不存在,这就是为什么您无法删除它的原因.

This command will show all existing aliases in the file. If it's not there, that's why you can't delete it.