<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tSoap with keyStore not working in Rutime Container in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294950#M147218</link>
    <description>the workaround is setup runtime/bin/setenv like export JAVA_OPTS="-Djavax.net.ssl.trustStore={path to the talendmdm.keystore} -Djavax.net.ssl.trustStorePassword=talend"</description>
    <pubDate>Tue, 30 May 2017 08:37:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-30T08:37:02Z</dc:date>
    <item>
      <title>tSoap with keyStore not working in Rutime Container</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294947#M147215</link>
      <description>&lt;P&gt;Hi, I&amp;nbsp;have this JOB, and the tSoap make a request on a SSL WebService&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend_Open_Studio_for_ESB__6_3_1_20161216_1026____WebserviceConsulting__Ligação__Local_.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lth7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134788i97B6D542E8CF153D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lth7.png" alt="0683p000009Lth7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And this is the tSetKeyStore&amp;nbsp;attributes&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend_Open_Studio_for_ESB__6_3_1_20161216_1026____WebserviceConsulting__Ligação__Local_.png" style="width: 590px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lu0I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145708i472454A4E0DA98BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lu0I.png" alt="0683p000009Lu0I.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;When I start the&amp;nbsp;job on a Talend Open Studio they work perfectly, but when I build on "OSGI Bundle for ESB" and run on Talend Runtime I got this error:&lt;/P&gt; 
&lt;PRE&gt;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:1949)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291)
	at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getOutputStream(HttpsURLConnectionOldImpl.java:220)
	at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:252)
	at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:160)
	at org.talend.soap.SOAPUtil.extractContentAsDocument(SOAPUtil.java:266)
	at webserviceconsulting.consultacadastro_0_2.consultaCadastro.tRESTRequest_1_LoopProcess(consultaCadastro.java:2611)
	at webserviceconsulting.consultacadastro_0_2.consultaCadastro$RestServiceProviderImpl4TalendJob.processRequest(consultaCadastro.java:390)
	at webserviceconsulting.consultacadastro_0_2.consultaCadastro$RestServiceProviderImpl4TalendJob.saida(consultaCadastro.java:481)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:254)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:234)
	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1129)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1065)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:499)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:745)
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:387)
	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:324)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
	... 45 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
	... 51 more&lt;/PRE&gt; 
&lt;P&gt;I am using the Talend Open Stdio for ESB 6.3.1.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks...&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294947#M147215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: tSoap with keyStore not working in Rutime Container</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294948#M147216</link>
      <description>&lt;P&gt;Talend Studio and Runtime - on same machine?&lt;/P&gt;&lt;P&gt;Is runtime run from same user or implemented as service from it own user?&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 23:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294948#M147216</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-05-02T23:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: tSoap with keyStore not working in Rutime Container</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294949#M147217</link>
      <description>&lt;P&gt;thanks for your reply.&lt;/P&gt;
&lt;P&gt;Yes, on the same machine and &amp;nbsp;same user.&lt;/P&gt;
&lt;P&gt;I just build the .jar (OSGI Bundle) move to deploy folder and&amp;nbsp;run the apache karaf ./trun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 12:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294949#M147217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-03T12:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: tSoap with keyStore not working in Rutime Container</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294950#M147218</link>
      <description>the workaround is setup runtime/bin/setenv like export JAVA_OPTS="-Djavax.net.ssl.trustStore={path to the talendmdm.keystore} -Djavax.net.ssl.trustStorePassword=talend"</description>
      <pubDate>Tue, 30 May 2017 08:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-with-keyStore-not-working-in-Rutime-Container/m-p/2294950#M147218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-30T08:37:02Z</dc:date>
    </item>
  </channel>
</rss>

