标签:技术分享 images fail 应用 roc ble 图片 bak shadow
解决jdk ssl PKIX path building failed异常ssl证书ca比较新或自行颁发的证书,jdk不受信任
<br>
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
cd $JAVA_HOME/jre/lib/security
cp cacerts cacerts.bak
keytool -import -alias dangdang.com -keystore cacerts -file /tmp/dangdang.cer
输入密码,keystore默认密码是changeit
重启后会应用导入后的keystore
标签:技术分享 images fail 应用 roc ble 图片 bak shadow
原文地址:http://blog.51cto.com/4988084/2140936