<?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: Rebuilding CM Host after file system crash. How can I disable HTTPS on the Admin Web Console from CLI? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-CM-Host-after-file-system-crash-How-can-I-disable/m-p/294402#M217235</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69863"&gt;@Cl0ck&lt;/a&gt;&amp;nbsp;You can always use OLD database, this is not am issue. For disabling TLS for admin console from CLI you can use below method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1. Determine Cloudera Manager Database&lt;BR /&gt;&lt;BR /&gt;cat /etc/cloudera-scm-server/db.properties&lt;BR /&gt;&lt;BR /&gt;2. Make database backup&lt;BR /&gt;&lt;BR /&gt;Postgres Backup:&lt;BR /&gt;----------------&lt;BR /&gt;pg_dump scm &amp;gt; scm_db_.backup&lt;BR /&gt;&lt;BR /&gt;3. Connect to database&lt;BR /&gt;&lt;BR /&gt;Postgres Connect:&lt;BR /&gt;------------------&lt;BR /&gt;psql -U scm -h localhost -p 7432 -d postgres&lt;BR /&gt;Password for user scm:&lt;BR /&gt;postgres=&amp;gt; \l&lt;BR /&gt;postgres=&amp;gt; \c scm&lt;BR /&gt;&lt;BR /&gt;4. Show TLS related rows &lt;BR /&gt;select * from CONFIGS where attr like '%tls%';&lt;BR /&gt;&lt;BR /&gt;5. Update TLS for web_tls &lt;BR /&gt;update CONFIGS set value = 'false' where attr = 'web_tls';&lt;/PRE&gt;&lt;P&gt;You can generate the key and password as well with same method you did previously. Else please for reference you can use this doc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/5-14-x/topics/how_to_configure_cm_tls.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/5-14-x/topics/how_to_configure_cm_tls.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 08:29:10 GMT</pubDate>
    <dc:creator>GangWar</dc:creator>
    <dc:date>2020-04-21T08:29:10Z</dc:date>
    <item>
      <title>Rebuilding CM Host after file system crash. How can I disable HTTPS on the Admin Web Console from CLI?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-CM-Host-after-file-system-crash-How-can-I-disable/m-p/294382#M217226</link>
      <description>&lt;P&gt;Had a file system crash, rebuilt Cloudera Manager host with the same everything--except the private TLS key for HTTPS. My psql db is still in tact, so the rebuilt CM host is connecting to it and getting configurations from the previous server. Is this a bad idea? Should I create a new database for the rebuilt CM host, or can I have it connect to the previous db and disable HTTPS manually somehow so I can access the web console and update it from there?&lt;BR /&gt;&lt;BR /&gt;Would it be a better idea to just regenerate new keys with the same password? I've never done this before, so I am unclear on any potential conflicts if a new Cloudera Manager server connects to an existing Cloudera Manager database.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:11:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Rebuilding-CM-Host-after-file-system-crash-How-can-I-disable/m-p/294382#M217226</guid>
      <dc:creator>Cl0ck</dc:creator>
      <dc:date>2020-04-21T00:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuilding CM Host after file system crash. How can I disable HTTPS on the Admin Web Console from CLI?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Rebuilding-CM-Host-after-file-system-crash-How-can-I-disable/m-p/294402#M217235</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69863"&gt;@Cl0ck&lt;/a&gt;&amp;nbsp;You can always use OLD database, this is not am issue. For disabling TLS for admin console from CLI you can use below method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1. Determine Cloudera Manager Database&lt;BR /&gt;&lt;BR /&gt;cat /etc/cloudera-scm-server/db.properties&lt;BR /&gt;&lt;BR /&gt;2. Make database backup&lt;BR /&gt;&lt;BR /&gt;Postgres Backup:&lt;BR /&gt;----------------&lt;BR /&gt;pg_dump scm &amp;gt; scm_db_.backup&lt;BR /&gt;&lt;BR /&gt;3. Connect to database&lt;BR /&gt;&lt;BR /&gt;Postgres Connect:&lt;BR /&gt;------------------&lt;BR /&gt;psql -U scm -h localhost -p 7432 -d postgres&lt;BR /&gt;Password for user scm:&lt;BR /&gt;postgres=&amp;gt; \l&lt;BR /&gt;postgres=&amp;gt; \c scm&lt;BR /&gt;&lt;BR /&gt;4. Show TLS related rows &lt;BR /&gt;select * from CONFIGS where attr like '%tls%';&lt;BR /&gt;&lt;BR /&gt;5. Update TLS for web_tls &lt;BR /&gt;update CONFIGS set value = 'false' where attr = 'web_tls';&lt;/PRE&gt;&lt;P&gt;You can generate the key and password as well with same method you did previously. Else please for reference you can use this doc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/5-14-x/topics/how_to_configure_cm_tls.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/5-14-x/topics/how_to_configure_cm_tls.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 08:29:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Rebuilding-CM-Host-after-file-system-crash-How-can-I-disable/m-p/294402#M217235</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2020-04-21T08:29:10Z</dc:date>
    </item>
  </channel>
</rss>

