active mq ssl 配置 和webservice 客户端请求 ssl 冲突 怎么办
如下、mq 配置了 <bean id="mqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="ssl://172.5.16.144:61617"/>
</bean>
webservices 客户端请求
System.setProperty("javax.net.ssl.trustStore","C:/zhengyong/truststore.jks");
System.setProperty("javax.net.ssl.trustStorePassword","222222"); 设置证书路径
报错
2013-07-27 17:47:26.140 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] I/O exception (org.apache.axis2.AxisFault) caught when processing request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
当mq 配置为 tcp 协议时webservices 可以使用,但当mq也配置为ssl 时,webservices 就报错,
跪求解答啊。难道是 mq ssl
和webservices ssl
冲突吗 SSL webservice mq
补充:Java , Java相关