java 微信等三方登录部署到WAS服务器上报错

[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 
java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: 
java.security.cert.CertPathValidatorException: Certificate chaining error
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.o.a(o.java:33)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:649)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.kb.a(kb.java:56)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.kb.a(kb.java:502)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.lb.a(lb.java:107)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.lb.a(lb.java:570)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.kb.s(kb.java:327)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.kb.a(kb.java:529)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:300)
[16-3-21 11:40:05:580 CST] 00000052 SystemErr     R at com.ibm.jsse2.SSLSocketImpl.h(SSLSocketImpl.java:403)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:431)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.SSLSocketImpl.startHandshake(SSLSocketImpl.java:315)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:103)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:42)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1184)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.net.ssl.www2.protocol.https.b.getInputStream(b.java:46)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.weixin.utill.WeiXinUtil.loadJson(WeiXinUtil.java:105)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.weixin.utill.WeiXinUtil.getAccessToken(WeiXinUtil.java:79)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.weixin.utill.WeiXinUtil.OAuthIfNesscary(WeiXinUtil.java:56)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm._jsp._wxindex._jspService(_wxindex.java:90)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:205)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.sinosoft.framework.MainFilter.doFilter(MainFilter.java:211)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R Caused by: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 
java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: 
java.security.cert.CertPathValidatorException: Certificate chaining error
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.util.f.b(f.java:37)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.util.f.b(f.java:15)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.util.e.a(e.java:19)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.pc.a(pc.java:17)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.pc.checkServerTrusted(pc.java:85)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.ws.ssl.core.WSX509TrustManager.checkServerTrusted(WSX509TrustManager.java:362)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.lb.a(lb.java:323)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R ... 55 more
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R Caused by: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 
java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: 
java.security.cert.CertPathValidatorException: Certificate chaining error
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathBuilderImpl.engineBuild(PKIXCertPathBuilderImpl.java:411)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:258)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.jsse2.util.f.b(f.java:11)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R ... 61 more
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R Caused by: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: 
java.security.cert.CertPathValidatorException: Certificate chaining error
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.BasicChecker.(BasicChecker.java:111)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathValidatorImpl.engineValidate(PKIXCertPathValidatorImpl.java:176)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathBuilderImpl.myValidator(PKIXCertPathBuilderImpl.java:737)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathBuilderImpl.buildCertPath(PKIXCertPathBuilderImpl.java:649)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathBuilderImpl.buildCertPath(PKIXCertPathBuilderImpl.java:595)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathBuilderImpl.buildCertPath(PKIXCertPathBuilderImpl.java:595)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.PKIXCertPathBuilderImpl.engineBuild(PKIXCertPathBuilderImpl.java:357)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R ... 63 more
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R Caused by: java.security.cert.CertPathValidatorException: Certificate chaining error
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.CertPathUtil.findIssuer(CertPathUtil.java:298)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R at com.ibm.security.cert.BasicChecker.(BasicChecker.java:108)
[16-3-21 11:40:05:596 CST] 00000052 SystemErr     R ... 69 more

你可能感兴趣的:(java错误解决方案,java专栏)