执行摘要:我如何使用 Java法在 Java安装新的根证书?
我们有一个桌面应用程序,可以浏览各种网络服务。 最近,其中一人将其SSL证书改为信托公司签署的证书。 虽然普通互联网浏览器接受信托社的SSL证书,但 Java似乎并未获得基本证书,我们失去了使用特定网络服务的渠道,其错误信息如下:
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
我们暂时搁置,说服供应商回到韦里辞职,但当他们回来时,我们必须做好准备。 因此,我需要我们的台式软件,以便在必要时自动安装信托人根证书。 我们的客户没有足够技术挖掘,无法使用关键波束指挥系统,因此我不会说话,因为这样做会给我带来一个脆弱的解决办法(对Mac和PPC分别实施,反对执行限制,难以找到正确的JRE安装,等等)。
我认为,关键工具是在国内使用 Java。 在 Java,我可以使用什么指挥手段复制钥匙tool的功能,并在方案上安装根证书?