我使用 java 使用 keytool 创建了一个本地密钥库,并在 Apache Tomcat 中完成了 ssl 配置。
我已经在我的本地机器上安装了证书,甚至添加到 jre cacerts 作为可信条目。
通过 https 通过浏览器打开工作正常
但问题是在尝试通过目录服务访问时。
error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target