<?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 Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241975#M203778</link>
    <description />
    <pubDate>Thu, 06 Jun 2019 18:41:32 GMT</pubDate>
    <dc:creator>aishwaryamdixit</dc:creator>
    <dc:date>2019-06-06T18:41:32Z</dc:date>
    <item>
      <title>Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241975#M203778</link>
      <description />
      <pubDate>Thu, 06 Jun 2019 18:41:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241975#M203778</guid>
      <dc:creator>aishwaryamdixit</dc:creator>
      <dc:date>2019-06-06T18:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241976#M203779</link>
      <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="http://@Aishwarya%20Dixit" target="_blank"&gt;&lt;EM&gt;@Aishwarya Dixit&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To disable HTTPS for  Ranger UI from Ambari go to: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Ambari UI--&amp;gt; Ranger--&amp;gt;config&lt;/STRONG&gt; filter with &lt;STRONG&gt;HTTPS&lt;/STRONG&gt; Settings: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Older HDP versions &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;External URL &lt;A href="https://&amp;lt;hostname&amp;gt;:6182" target="_blank"&gt;https://&amp;lt;hostname&amp;gt;:6182&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;HTTPS enabled - Un-check&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;HDP 2.6.x &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Advanced ranger-admin-site: &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;ranger.service.https.attrib.ssl.enabled = false&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 19:37:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241976#M203779</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-06-06T19:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241977#M203780</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have HDP 2.6.5 in our cluster. The property mentioned by you is already disabled.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The link to which it is getting redirected to is "&lt;A rel="noopener noreferrer noopener noreferrer" href="https://tehdn01.europe.stater.corp:6080" target="_blank"&gt;https:/&amp;lt;hostname&amp;gt;:6080&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 19:45:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241977#M203780</guid>
      <dc:creator>aishwaryamdixit</dc:creator>
      <dc:date>2019-06-06T19:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241978#M203781</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; Can you please help us with the issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 19:57:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241978#M203781</guid>
      <dc:creator>aishwaryamdixit</dc:creator>
      <dc:date>2019-06-06T19:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241979#M203782</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/22154/aishwaryamdixit.html"&gt;@Aishwarya Dixit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try this If you are trying to access the Ranger UI link  &lt;B&gt;Via Ambari Quicklinks &lt;/B&gt;and if it is getting redirected to Https Ranger url.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Stop Ambari Server.&lt;/P&gt;&lt;PRE&gt;# ambari-server stop&lt;/PRE&gt;&lt;P&gt;2. Edit the "/etc/ambari-server/conf/ambari.properties" file and update the values of these two properties as 0&lt;/P&gt;&lt;PRE&gt;http.strict-transport-security=max-age=0
views.http.strict-transport-security=max-age=0&lt;/PRE&gt;&lt;P&gt;3. Restart Ambari Server.&lt;/P&gt;&lt;PRE&gt;# ambari-server start&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;4. Open Fresh Incognito Mode Browser (to avoid any browser caching issue)&lt;/P&gt;&lt;P&gt;Then try to access the links for ranger.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 19:59:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241979#M203782</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-06T19:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241980#M203783</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;, can you please explain more about these properties?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:06:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241980#M203783</guid>
      <dc:creator>aishwaryamdixit</dc:creator>
      <dc:date>2019-06-07T12:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241981#M203784</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/22154/aishwaryamdixit.html"&gt;@Aishwarya Dixit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By Any chance do you have the Ranger and Ambari Server installed on the same host?&lt;/P&gt;&lt;P&gt;Because by chance iif the Ranger and Ambari are installed on the same host then Ambari might be redirecting the URLs of components like Ranger here from HTTP to HTTPS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What strict-transport-security does?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When using SSL, this will be used to set the &lt;CODE&gt;Strict-Transport-Security&lt;/CODE&gt;response header.&lt;/P&gt;&lt;P&gt;HTTP Strict Transport Security (HSTS) is a security policy which is necessary to protect secure HTTPS websites against downgrade attacks. It also aids protection against cookie hijacking. It allows web servers to declare that web browsers should only interact with it using secure HTTPS connections, and never via the insecure HTTP protocol.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Browser knows the hostname (but it does not know in that host Ambari is running or Ranger) Ambari might be setting (it because ambari is set for SSL) that property to some age. But ranger does not want it as it is not set for ssl.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So when from the same browser you are hitting the Ranger ... because of same hostname it might be sending that header back.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ambari 2.7 had some issue regarding setting those params to 0. But if you are using Older version of amabri then it should work fine.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-25159"&gt;https://issues.apache.org/jira/browse/AMBARI-25159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hence i suggested you to try setting them to 0 in ambari.properties foillowed by &lt;STRONG&gt;&lt;EM&gt;AmbariServer restart&lt;/EM&gt;&lt;/STRONG&gt; (hit browser in incognito mode) , it works fine in 2.6.x versions. (by the way what is your ambari version)&lt;/P&gt;&lt;PRE&gt;http.strict-transport-security=max-age=0
views.http.strict-transport-security=max-age=0&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:54:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241981#M203784</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-07T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger UI is opening with HTTPS instead of HTTP though SSL is not enabled for Ranger. SSL is enabled for only Ambari UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241982#M203785</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;, Yes, we have installed Ambari and Ranger on the same node. And we are using HDP 2.6.5 in our cluster. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Now I have a clear picture on why we are getting this error. Thank you so much for answering and your detailed explanation.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 13:11:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-UI-is-opening-with-HTTPS-instead-of-HTTP-though-SSL/m-p/241982#M203785</guid>
      <dc:creator>aishwaryamdixit</dc:creator>
      <dc:date>2019-06-07T13:11:21Z</dc:date>
    </item>
  </channel>
</rss>

