<?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>question Re: oozie cli doesn't work after enabling tls option in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/62531#M40730</link>
    <description>You have to update the default java truststore with your certs, e.g. root CA.&lt;BR /&gt;Are you using self-signed certs?</description>
    <pubDate>Wed, 06 Dec 2017 10:50:45 GMT</pubDate>
    <dc:creator>andrzej_jedrzej</dc:creator>
    <dc:date>2017-12-06T10:50:45Z</dc:date>
    <item>
      <title>oozie cli doesn't work after enabling tls option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/45140#M40726</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a&amp;nbsp;problem with oozie on my cloudera cluster. I enabled TLS encryption for admin console and Agents. I specified Keystore and Truststore File location and passwords in configuration tab for oozie.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i try to curl oozie:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;oozie admin -oozie &lt;A href="https://ukgs2hdm02.cwglobal.local:11443/oozie" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class="s2"&gt;https://ukgs2hdm02.cwglobal.local:11443/oozie&lt;/SPAN&gt;&lt;/A&gt; -status&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. 
No of retries = 1. Exception = sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I was thinking about importing host certificate to a default java keystore but find this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/jdk1.7.0_79/jre/lib/security/cacerts
/opt/cloudera/parcels/CDH-5.5.4-1.cdh5.5.4.p0.9/lib/hue/build/env/lib/python2.6/site-packages/boto-2.38.0-py2.6.egg/boto/cacerts
/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/security/cacerts
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.101.x86_64/jre/lib/security/cacerts
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.39.x86_64/jre/lib/security/cacerts
/usr/java/jdk1.7.0_67-cloudera/jre/lib/security/cacerts
/usr/java/jdk1.6.0_31/jre/lib/security/cacerts
/etc/pki/ca-trust/extracted/java/cacerts
/etc/pki/java/cacerts&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;and I don't know which one should I use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Here are my files related to cert:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;-rw-r-----. 1 root         tls  1996 May 31 13:08 cdh_host.key
-rw-r-----. 1 root         tls  2159 May 31 13:08 cdh_host.keystore
-r--r-----. 1 oozie        tls  2159 Sep 13 09:45 cdh_host.oozie.keystore
-rw-r-----. 1 root         tls  1123 May 31 13:08 cdh_host.pem
-r-xr--r--. 1 cloudera-scm tls  8754 Sep  7 13:39 truststore.jks
-rw-r-----. 1 root         tls 11961 Sep  7 13:39 truststore.pem
-rw-r-----. 1 root         tls   789 May 31 13:08 ukgs2hdm02.cwglobal.local.cer&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;oozie&amp;nbsp;keystore&amp;nbsp;is the same as the host keystore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I have added certificate to all default java truststores and still the same problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Oozie web console works just fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:39:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/45140#M40726</guid>
      <dc:creator>andrzej_jedrzej</dc:creator>
      <dc:date>2022-09-16T10:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: oozie cli doesn't work after enabling tls option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/45143#M40727</link>
      <description>Solved. I missed one of the java default truststore files..........</description>
      <pubDate>Thu, 15 Sep 2016 16:11:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/45143#M40727</guid>
      <dc:creator>andrzej_jedrzej</dc:creator>
      <dc:date>2016-09-15T16:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: oozie cli doesn't work after enabling tls option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/61291#M40728</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16484"&gt;@andrzej_jedrzej&lt;/a&gt;, can you explain how can you solve this problem?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 07:58:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/61291#M40728</guid>
      <dc:creator>nur.majid</dc:creator>
      <dc:date>2017-10-27T07:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: oozie cli doesn't work after enabling tls option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/61686#M40729</link>
      <description>&lt;P&gt;can you explain how did you resolve this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:50:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/61686#M40729</guid>
      <dc:creator>NITHINJ</dc:creator>
      <dc:date>2017-11-09T19:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: oozie cli doesn't work after enabling tls option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/62531#M40730</link>
      <description>You have to update the default java truststore with your certs, e.g. root CA.&lt;BR /&gt;Are you using self-signed certs?</description>
      <pubDate>Wed, 06 Dec 2017 10:50:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/62531#M40730</guid>
      <dc:creator>andrzej_jedrzej</dc:creator>
      <dc:date>2017-12-06T10:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: oozie cli doesn't work after enabling tls option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/77052#M40731</link>
      <description>&lt;P&gt;Hi, am using self signed certificates and tried to enable TLS parameters to all the services, so except Oozie. Oozie is showing some health issues, Oozie webserver cannot be communicated.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 17:42:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-cli-doesn-t-work-after-enabling-tls-option/m-p/77052#M40731</guid>
      <dc:creator>sparamas</dc:creator>
      <dc:date>2018-07-17T17:42:04Z</dc:date>
    </item>
  </channel>
</rss>

