调用API接口时报SSLKeyException
半夜微凉点 发布于2018-01 浏览:2551 回复:2
1
收藏

java web应用部署在本地tomcat下,能够正常调用文字识别中的身份证识别API,但发布到weblogic上,就提示无法获取token,报获取token失败!javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.

at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source) 
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source) 
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source) 
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source) 
at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source) 
at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source) 
at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source) 
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source) 
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source) 
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source) 
at com.certicom.tls.record.WriteHandler.write(Unknown Source) 
at com.certicom.io.OutputSSLIOStreamWrapper.write(Unknown Source) 
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) 
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) 
at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) 
at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:162) 
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:376) 
at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37) 

收藏
点赞
1
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#4追星逐月的家回复于2018-10

服务器防火墙限制了网络?

0
#2半夜微凉点回复于2018-01

有没有哪位大虾知道解决办法的?

0
TOP
切换版块