调用api报不信任的证书


如图所示调用接口时报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target,尝试通知浏览器直接访问图中的地址,导出证书放到jdk密钥库中,还是报同样的错误,请问怎么解决