<?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: Do we need to add Knox self-signed cert into Ranger keystore? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96658#M10185</link>
    <description>&lt;P&gt;if above steps don't work then please add/update the value of property 'ranger.truststore.file' and 'ranger.truststore.password' in the ranger-admin module according to your environment :&lt;/P&gt;&lt;P&gt;According to steps mentioned above sample value would be :&lt;/P&gt;&lt;PRE&gt;ranger.truststore.file=/usr/hdp/current/ranger-admin/cacertswithknox
ranger.truststore.password=changeit
&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Aug 2016 10:42:31 GMT</pubDate>
    <dc:creator>pagrawa</dc:creator>
    <dc:date>2016-08-30T10:42:31Z</dc:date>
    <item>
      <title>Do we need to add Knox self-signed cert into Ranger keystore?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96653#M10180</link>
      <description>&lt;P&gt;It seem that invoking the test from the KNox repository in Ranger  failes due to miss path to the cert.&lt;/P&gt;&lt;P&gt;Caused by: 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&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 04:30:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96653#M10180</guid>
      <dc:creator>hfaouaz</dc:creator>
      <dc:date>2015-11-06T04:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need to add Knox self-signed cert into Ranger keystore?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96654#M10181</link>
      <description>&lt;P&gt;Yes that is right , you need to add self-signed cert into Ranger keystore for Test connection and lookup functionality to work&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 04:44:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96654#M10181</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2015-11-06T04:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need to add Knox self-signed cert into Ranger keystore?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96655#M10182</link>
      <description>&lt;P&gt;In HDP 2.3 you can do the following for it&lt;/P&gt;&lt;PRE&gt;cd $GATEWAY_HOME/data/security/keystores 

keytool -exportcert -alias gateway-identity -keystore gateway.jks -file knox.crt&lt;/PRE&gt;&lt;UL&gt;
&lt;LI&gt;no password&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Copy knox.crt file onto machine running Ranger admin to a working directory,  /usr/hdp/current/ranger-admin/&lt;/P&gt;&lt;PRE&gt;cd /usr/hdp/current/ranger-admin
cp /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.1.el7_1.x86_64/jre/lib/security/cacerts cacertswithknox
keytool -import -trustcacerts -file knox.crt -alias knox -keystore cacertswithknox&lt;/PRE&gt;&lt;UL&gt;
&lt;LI&gt;password: changeit&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;cd /usr/hdp/current/ranger-admin/ews&lt;/PRE&gt;&lt;P&gt;Add following to /usr/hdp/current/ranger-admin/ews/ranger-admin-services.sh&lt;/P&gt;&lt;PRE&gt;-Djavax.net.ssl.trustStore=/usr/hdp/current/ranger-admin/cacertswithknox&lt;/PRE&gt;&lt;P&gt;in &lt;/P&gt;&lt;PRE&gt;start() {
        java -Dproc_rangeradmin ${JAVA_OPTS} -Dlogdir=${XAPOLICYMGR_EWS_DIR}/logs/ -Dcatalina.base=${XAPOLICYMGR_EWS_DIR} -cp "${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/classes/conf:${XAPOLICYMGR_EWS_DIR}/lib/*:${RANGER_JAAS_LIB_DIR}/*:${RANGER_JAAS_CONF_DIR}:${JAVA_HOME}/lib/*:$CLASSPATH" org.apache.ranger.server.tomcat.EmbeddedServer &amp;gt; logs/catalina.out 2&amp;gt;&amp;amp;1 &amp;amp;

        echo "Apache Ranger Admin has started."
}&lt;/PRE&gt;&lt;P&gt;restart ranger-admin&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 05:33:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96655#M10182</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2015-11-06T05:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need to add Knox self-signed cert into Ranger keystore?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96656#M10183</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/218/rmani.html" nodeid="218"&gt;@rmani@hortonworks.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 05:46:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96656#M10183</guid>
      <dc:creator>hfaouaz</dc:creator>
      <dc:date>2015-11-06T05:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need to add Knox self-signed cert into Ranger keystore?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96657#M10184</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/218/rmani.html" nodeid="218"&gt;@Ramesh Mani&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 14:16:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96657#M10184</guid>
      <dc:creator>VR46</dc:creator>
      <dc:date>2016-05-13T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need to add Knox self-signed cert into Ranger keystore?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96658#M10185</link>
      <description>&lt;P&gt;if above steps don't work then please add/update the value of property 'ranger.truststore.file' and 'ranger.truststore.password' in the ranger-admin module according to your environment :&lt;/P&gt;&lt;P&gt;According to steps mentioned above sample value would be :&lt;/P&gt;&lt;PRE&gt;ranger.truststore.file=/usr/hdp/current/ranger-admin/cacertswithknox
ranger.truststore.password=changeit
&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Aug 2016 10:42:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Do-we-need-to-add-Knox-self-signed-cert-into-Ranger-keystore/m-p/96658#M10185</guid>
      <dc:creator>pagrawa</dc:creator>
      <dc:date>2016-08-30T10:42:31Z</dc:date>
    </item>
  </channel>
</rss>

