[jboss-dev-forums] [JBoss AS 7 Development] - Jboss-7.1.1.Final, Received fatal alert: handshake_failure
PRAVEEN KONDAKA
do-not-reply at jboss.com
Fri Jul 27 13:58:10 EDT 2012
PRAVEEN KONDAKA [https://community.jboss.org/people/pkondaka1] created the discussion
"Jboss-7.1.1.Final, Received fatal alert: handshake_failure"
To view the discussion, visit: https://community.jboss.org/message/750744#750744
--------------------------------------------------------------
Hello Folks,
I am struggling with upgrade to Jboss-7.1.1.Final from Jboss-6.0.0.Fianl. I am deploying my WAR and trying to make SOAP web service call from my JSP client, I am getting following error. It was working fine in JBoss-6.0.0
If I make regular HTTP it was working fine in JBoss-7.1.1. I believe something related to keystore or certs (server or client). Please help me to resolve this issue. I have tried couple of options with server cert and client certs, keystore, but no luck.
******
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:250)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:159)
at org.apache.jsp.jsp.CORESoapClient_jsp._jspService(CORESoapClient_jsp.java:164)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:662)
******
standalone.xml
------------------------
My https connector in <subsystem xmlns="urn:jboss:domain:web:1.1"
<connector name="myhttps" protocol="HTTP/1.1" scheme="https" socket-binding="myhttps" secure="true">
<ssl name="ssl" password="changeit" certificate-key-file="${jboss.server.config.dir}/keystore.jks" protocol="TLSv1" verify-client="want" ca-certificate-file="C:/Program Files/Java/jdk1.6.0_26/jre/lib/security/cacerts"/>
</connector>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750744#750744]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120727/1391fb18/attachment.html
More information about the jboss-dev-forums
mailing list