Cause: unable to find valid certification path to requested target

1、Cause: unable to find valid certification path to requested target

转:https://www.chengbinbin.cn/archives/1550795296099/

管理员权限打开

进入 C:\Windows\System32

C:\Windows\System32> keytool -importcert -file D:\1122.cer -keystore "%JAVA_HOME
%\jre\lib\security\cacerts" -alias server


输入密钥库口令:
keytool 错误: java.io.IOException: Keystore was tampered with, or password was i
ncorrect

2、keytool 错误: java.io.IOException: Keystore was tampered with, or password 

转:https://www.cnblogs.com/ycyoes/p/5586302.html

在进行证书相关操作,如更新、删除、导入时,需要输入保护密码,默认的是changeit,输入即可,而不是生成证书时自己设置的。

你可能感兴趣的:(文章转载)