{"action":"closed","issue":{"url":"https://api.github.com/repos/wso2/product-is/issues/505","repository_url":"https://api.github.com/repos/wso2/product-is","labels_url":"https://api.github.com/repos/wso2/product-is/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/wso2/product-is/issues/505/comments","events_url":"https://api.github.com/repos/wso2/product-is/issues/505/events","html_url":"https://github.com/wso2/product-is/issues/505","id":158851723,"number":505,"title":"SSL Handshake Exception when trying to call WSO2 Web Services","user":{"login":"AnujaK","id":1309080,"avatar_url":"https://avatars.githubusercontent.com/u/1309080?v=3","gravatar_id":"","url":"https://api.github.com/users/AnujaK","html_url":"https://github.com/AnujaK","followers_url":"https://api.github.com/users/AnujaK/followers","following_url":"https://api.github.com/users/AnujaK/following{/other_user}","gists_url":"https://api.github.com/users/AnujaK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnujaK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnujaK/subscriptions","organizations_url":"https://api.github.com/users/AnujaK/orgs","repos_url":"https://api.github.com/users/AnujaK/repos","events_url":"https://api.github.com/users/AnujaK/events{/privacy}","received_events_url":"https://api.github.com/users/AnujaK/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-07T06:53:00Z","updated_at":"2016-06-17T08:11:53Z","closed_at":"2016-06-17T08:11:53Z","body":"I'm using WSO2 Identity Server 5.1 for SSO. I'm trying to call WSO2 web services from my Spring boot application that uses spring-security-saml2 (built using Oracle JDK 1.7).\r\n\r\nI hit my application URL, it takes me to WSO2 authentication. I see in browser the following:\r\n\r\n![rsz_screenshot_from_2016-06-07_090925](https://cloud.githubusercontent.com/assets/1309080/15848261/8b878edc-2ca9-11e6-88ca-c2469f176ec6.png)\r\n\r\nWSO2 authenticates me but throws Axis2 error for any web service call. Here is stack trace:\r\n_org.apache.axis2.AxisFault: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake\r\n\tat org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) ~[axis2-kernel-1.7.2.jar:1.7.2]\r\n\tat org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:78) ~[axis2-kernel-1.7.2.jar:na]\r\n\tat org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84) ~[axis2-1.6.1.wso2v12.jar:na]\r\n\tat org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) ~[commons-httpclient-3.1.jar:na]\r\n\tat org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) ~[commons-httpclient-3.1.jar:na]\r\n\tat org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) ~[commons-httpclient-3.1.jar:na]\r\n\tat org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) ~[commons-httpclient-3.1.jar:na]\r\n\tat org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) ~[commons-httpclient-3.1.jar:na]\r\n\tat org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) ~[commons-httpclient-3.1.jar:na]\r\n\tat org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630) ~[axis2-1.6.1.wso2v12.jar:na]\r\n\tat org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195) [axis2-1.6.1.wso2v12.jar:na]\r\n\tat org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) [axis2-1.6.1.wso2v12.jar:na]\r\n\tat org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451) [axis2-1.6.1.wso2v12.jar:na]\r\n\tat org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278) [axis2-1.6.1.wso2v12.jar:na]\r\n\tat org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:431) [axis2-kernel-1.7.2.jar:1.7.2]\r\n\tat org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:399) [axis2-kernel-1.7.2.jar:1.7.2]\r\n\tat org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) [axis2-kernel-1.7.2.jar:1.7.2]\r\n\tat org.apache.axis2.client.OperationClient.execute(OperationClient.java:150) [axis2-kernel-1.7.2.jar:1.7.2]\r\n\tat org.wso2.carbon.service.mgt.stub.ServiceAdminStub.getNumberOfActiveServices(ServiceAdminStub.java:4810) [org.wso2.carbon.service.mgt.stub-4.0.0.jar:na]__\r\n\r\nI had created certificate using OpenSSL as well as using trial certificate from Comodo and face the same issue. I'd referred https://docs.wso2.com/display/IS510/Creating+New+Keystores for certificate creation and installation.\r\n\r\nAny help is highly appreciated."}}
{"actor":{"display_login":"omindu"}}