<?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: Java Truststore Issue - Default key manager cannot be initialized in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256955#M39188</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the exact same error.&lt;BR /&gt;Any help would be highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Execution Job, I've set the advanced parameters to :&lt;BR /&gt;-Djavax.net.ssl.keyStore=&lt;STRONG&gt;&amp;lt;mykeystorepath&amp;gt;/&amp;lt;mykeystore&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-Djavax.net.ssl.keyStorePassword=&amp;lt;&lt;STRONG&gt;mypassword&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2020 21:11:12 GMT</pubDate>
    <dc:creator>thalychris</dc:creator>
    <dc:date>2020-06-29T21:11:12Z</dc:date>
    <item>
      <title>Java Truststore Issue - Default key manager cannot be initialized</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256953#M39186</link>
      <description>&lt;P&gt;Working in a TOS 7.2.1 environment which at some point I think I was messing around with SSL keys.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now whenever I try to use a tRestClient component or anything leveraging SSL I get the below warning:&lt;/P&gt; 
&lt;PRE&gt;[WARN ]: org.apache.cxf.transport.https.SSLUtils - Default key managers cannot be initialized: DerInputStream.getLength(): lengthTag=109, too big.

java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.

at sun.security.util.DerInputStream.getLength(DerInputStream.java:599)

at sun.security.util.DerValue.init(DerValue.java:391)

at sun.security.util.DerValue.&amp;lt;init&amp;gt;(DerValue.java:332)

at sun.security.util.DerValue.&amp;lt;init&amp;gt;(DerValue.java:345)

at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1938)

at java.security.KeyStore.load(KeyStore.java:1445)

at org.apache.cxf.configuration.jsse.SSLUtils.loadDefaultKeyManagers(SSLUtils.java:122)

at org.apache.cxf.configuration.jsse.SSLUtils.getDefaultKeyStoreManagers(SSLUtils.java:88)

at org.apache.cxf.transport.https.SSLUtils.getSSLContext(SSLUtils.java:75)

at org.apache.cxf.transport.https.HttpsURLConnectionFactory.decorateWithTLS(HttpsURLConnectionFactory.java:147)

at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:101)

at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:121)

at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:125)

at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:505)

at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:47)

at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)

at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:710)

at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1051)

at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)

at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)

at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:431)

at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611)

at irvingroup.scrapehero_indeedapplicants_0_1.ScrapeHero_IndeedApplicants.tRESTClient_1Process(ScrapeHero_IndeedApplicants.java:2249)

at irvingroup.scrapehero_indeedapplicants_0_1.ScrapeHero_IndeedApplicants.tLoop_1Process(ScrapeHero_IndeedApplicants.java:909)

at irvingroup.scrapehero_indeedapplicants_0_1.ScrapeHero_IndeedApplicants.tJava_3Process(ScrapeHero_IndeedApplicants.java:698)

at irvingroup.scrapehero_indeedapplicants_0_1.ScrapeHero_IndeedApplicants.tJava_4Process(ScrapeHero_IndeedApplicants.java:570)

at irvingroup.scrapehero_indeedapplicants_0_1.ScrapeHero_IndeedApplicants.runJobInTOS(ScrapeHero_IndeedApplicants.java:4107)

at irvingroup.scrapehero_indeedapplicants_0_1.ScrapeHero_IndeedApplicants.main(ScrapeHero_IndeedApplicants.java:3952)&lt;/PRE&gt; 
&lt;P class="p2"&gt;Any ideas on how to resolved this issue or how to determine which truststore is being used that is causing this issue?&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p2"&gt;I know its just a warning but would love to remove this from my logs.&amp;nbsp;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 20:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256953#M39186</guid>
      <dc:creator>matt_irvin</dc:creator>
      <dc:date>2020-05-15T20:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java Truststore Issue - Default key manager cannot be initialized</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256954#M39187</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the exact same error.&lt;BR /&gt;Any help would be highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Execution Job, I've set the advanced parameters to :&lt;BR /&gt;-Djavax.net.ssl.keyStore=&lt;STRONG&gt;&amp;lt;mykeystorepath&amp;gt;/&amp;lt;mykeystore&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-Djavax.net.ssl.keyStorePassword=&amp;lt;&lt;STRONG&gt;mypassword&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 21:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256954#M39187</guid>
      <dc:creator>thalychris</dc:creator>
      <dc:date>2020-06-29T21:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Java Truststore Issue - Default key manager cannot be initialized</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256955#M39188</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the exact same error.&lt;BR /&gt;Any help would be highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Execution Job, I've set the advanced parameters to :&lt;BR /&gt;-Djavax.net.ssl.keyStore=&lt;STRONG&gt;&amp;lt;mykeystorepath&amp;gt;/&amp;lt;mykeystore&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-Djavax.net.ssl.keyStorePassword=&amp;lt;&lt;STRONG&gt;mypassword&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 21:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-Truststore-Issue-Default-key-manager-cannot-be-initialized/m-p/2256955#M39188</guid>
      <dc:creator>thalychris</dc:creator>
      <dc:date>2020-06-29T21:11:12Z</dc:date>
    </item>
  </channel>
</rss>

