更新时间:2021-12-12 02:52:47
您需要设置证书才能点击此网址.使用以下代码设置密钥库:
You need to set certificate to hit this url. use below code to set keystore:
System.setProperty("javax.net.ssl.trustStore","clientTrustStore.key");
System.setProperty("javax.net.ssl.trustStorePassword","qwerty");
PKIX路径建设失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到有效的认证路径请求的目标
看到SSLFactory使用的密钥库了吗?异常:"sun .... certpath.SunCertPathBuilderException:无法找到到请求目标的有效证书路径"
Java:sun.security.provider.certpath.SunCertPathBuilderException:无法找到所请求目标的有效证书路径
Java:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效认证路径