在Java KeyStore中添加了信任证书,仍然获得SSL握手异常

时间:2018-08-30 11:41:45

标签: sslhandshakeexception

我想从Java代码中以https开头的URL,所以我已将该站点的信任证书添加到我的Java KeyStore中,但是仍然低于错误...

Exception in thread "main" 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

添加证书后是否还需要进行任何更改?

0 个答案:

没有答案