Created by Jerry Wang, last modified on May 11, 2015
SSL problem with host ldcigm6
:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
如果本地同时安装了JDK和JRE,首先确认Eclipse里default使用的JRE的确切路径:
然后打开JRE安装folder下lib folder里的certificate文件,确认里面没有包含sapnetca:
将从浏览器导出的certificate文件导入:
成功导入之后:
重启tomcat和Chrome,弹出要求输入user和password的对话框,问题解决。