开发者社区> 问答> 正文

使用Java调用SLB的HTTPS 的技术问题

使用Java调用SLB的HTTPS 的技术问题:
描述与:相同Java代码调用公司F5配置的https正常,但调用SLB配置的https报错,见后面备注
备注:
1、浏览器访问https都正常
2、访问地址正常
3、SSL证书配置正确
3、java代码的错误
org.apache.cxf.interceptor.Fault: Received fatal alert: handshake_failure
    at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:113)
    at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:69)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
    at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138)
    at $Proxy37.checkIdentityWithPhoto(Unknown Source)
    at test.TestSelf.main(TestSelf.java:63)
Caused by: com.ctc.wstx.exc.WstxIOException: Received fatal alert: handshake_failure
    at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:255)
    at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:111)
    ... 10 more

展开
收起
苦行僧 2015-12-17 11:38:30 7869 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载