Java导入证书失败Keystore was tampered with, or password was incorrect
keytool 错误: java.io.IOException: Keystore was tampered with, or
password was incorrect
在进行证书相关操作,如更新、删除、导入时,需要输入保护密码,默认的是changeit,输入即可,而不是生成证书时自己设置的。
生成证书:
导出证书,此时输入生成证书时设置的密码: