且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PKIX路径建设失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到有效的认证路径请求的目标

更新时间:2022-05-24 18:24:40

最后我得到了解决这个问题的方式。

Finally I got the way to solve this issue.

在这个链接请参阅此 InstallCert.java 。 9443 并计划创建的 jssecacerts 下的月食文件:通过传递参数作为本地主机运行该程序作为独立。
复制此 jssecacerts 文件到您的JDK_HOME \\ JRE \\ lib \\ security中\\文件夹中。这应该解决这一问题。

Refer this InstallCert.java in this link. Run this program as Standalone by passing arguments as localhost:9443 and Program creates jssecacerts file under eclipse. Copy this jssecacerts file into your JDK_HOME\jre\lib\security\ folder. That should solve the issue

快乐TLS设置!