Hi All , I got the response at the wire. But after that only i am getting the above error[1].
On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah < [email protected]> wrote: > Hi Elilmatha, > > I already included the certificates at client-truststore.jks as well as > wso2carbon.jks. > > On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan <[email protected]> > wrote: > >> Hi Hariprasath, >> >> As per you error log you need to include the certificate. >> >> Thanks. >> >> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah < >> [email protected]> wrote: >> >>> Hi All, >>> >>> I am working on FHIR connector. I got the following[1] error while I am >>> running the integration test case of FHIR. Any suggestion on this error? >>> >>> >>> >>> [1] >>> [2015-10-13 10:49:58,488] ERROR >>> {org.wso2.carbon.automation.core.PlatformTestManager} - On Test failure.. >>> [2015-10-13 10:49:58,488] ERROR >>> {org.wso2.carbon.automation.core.PlatformTestManager} - >>> javax.net.ssl.SSLHandshakeException: >>> sun.security.validator.ValidatorException: PKIX path building failed: >>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find >>> valid certification path to requested target >>> [2015-10-13 10:49:58,489] INFO >>> {org.wso2.carbon.automation.core.PlatformTestManager} - >>> --------------Tests Failed >>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource-------- >>> [2015-10-13 10:49:58,503] INFO >>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>> [2015-10-13 10:49:58,503] WARN - ProxyServiceAdmin No proxy service exists >>> by the name : fhir >>> [2015-10-13 10:49:58,525] INFO >>> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient} >>> - Proxy Deleted >>> FAILED: readResource >>> fhir {readResource} integration test. >>> javax.net.ssl.SSLHandshakeException: >>> sun.security.validator.ValidatorException: PKIX path building failed: >>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find >>> valid certification path to requested target >>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) >>> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904) >>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279) >>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273) >>> at >>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446) >>> at >>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209) >>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) >>> at sun.security.ssl.Handshaker.process_record(Handshaker.java:837) >>> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023) >>> at >>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) >>> at >>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) >>> at >>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) >>> at >>> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) >>> at >>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) >>> at >>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301) >>> at >>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) >>> at >>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) >>> at >>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:898) >>> at >>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:371) >>> at >>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:253) >>> at >>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource(fhirConnectorIntegrationTest.java:69) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at >>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) >>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) >>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) >>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) >>> at >>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) >>> at >>> org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) >>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178) >>> at org.testng.TestRunner.privateRun(TestRunner.java:757) >>> at org.testng.TestRunner.run(TestRunner.java:608) >>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) >>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) >>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) >>> at org.testng.SuiteRunner.run(SuiteRunner.java:240) >>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) >>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) >>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) >>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) >>> at org.testng.TestNG.run(TestNG.java:999) >>> at >>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) >>> at >>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) >>> at >>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> at >>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) >>> at >>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) >>> at >>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) >>> Caused by: sun.security.validator.ValidatorException: PKIX path building >>> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable >>> to find valid certification path to requested target >>> at >>> sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) >>> at >>> sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) >>> at sun.security.validator.Validator.validate(Validator.java:260) >>> at >>> sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326) >>> at >>> sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) >>> at >>> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126) >>> at >>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1428) >>> ... 50 more >>> Caused by: sun.security.provider.certpath.SunCertPathBuilderException: >>> unable to find valid certification path to requested target >>> at >>> sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) >>> at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) >>> at >>> sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) >>> ... 56 more >>> >>> >>> -- >>> >>> >>> *Thank you and Regards**Hariprasath Thanarajah* >>> Associate Software Engineer | WSO2 >>> E: [email protected] >>> M: +94752806528 >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *S.Elilmatha* >> Associate Software Engineer, >> >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> Mobile 0779842221. >> >> > > > -- > > > *Thank you and Regards**Hariprasath Thanarajah* > Associate Software Engineer | WSO2 > E: [email protected] > M: +94752806528 > > -- *Thank you and Regards**Hariprasath Thanarajah* Associate Software Engineer | WSO2 E: [email protected] M: +94752806528
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
