我试图使用相互身份验证(客户端和服务器上的证书),但我然后得到此错误: javax.net.ssl.SSLHandshakeException:sun.security.validator。 ValidatorException:PKIX路径建设失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求的目标的有效证书路径客户端与Spring-WS的SSL
然后我发现这个类,我想作为一个messageSender,和使用: HttpsUrlConnectionMessageSender
但我无法弄清楚如何设置我用javax.net.ssl属性配置的密钥库和信任库。 如果可能,我想在spring xml文件中做这个设置,以便它可以动态配置。
它是如何从密钥工具 - 导入-trustedcacerts不同? –