<?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: Level 2: Enabling Cloudera Manager Agent Hosts to Authenticate the Server's Certificate ---Fails ! in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286005#M212145</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support and all cloudera team.&lt;/P&gt;&lt;P&gt;i resolved that by ,adding my rootca to my cloudera keystore and trustore .Then i reconfigured&amp;nbsp; the agent config.ini to point to the rootca.pem .&lt;/P&gt;&lt;P&gt;But when i inspect host i got this error .(i am using cdh 6.1.1 on ubuntu 16.04)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ccomm1.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25779iCB7A60DF07C4AA74/image-size/large?v=v2&amp;amp;px=999" role="button" title="ccomm1.png" alt="ccomm1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ccomm2.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25780i9C399A49EA0AFED9/image-size/large?v=v2&amp;amp;px=999" role="button" title="ccomm2.png" alt="ccomm2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2019 11:28:05 GMT</pubDate>
    <dc:creator>feddou22</dc:creator>
    <dc:date>2019-12-19T11:28:05Z</dc:date>
    <item>
      <title>Level 2: Enabling Cloudera Manager Agent Hosts to Authenticate the Server's Certificate ---Fails !</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/285923#M212090</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I am running free trial cloudera in pseudo-distributed mod (One host, the server and agent are the same).i am trying now to enable tls/ssl for my cluster&lt;/P&gt;
&lt;P&gt;-Level 1 succedeed &lt;A href="https://datastore.xxx.fr:7183" target="_blank" rel="noopener"&gt;https://datastore.xxx.fr:7183&lt;/A&gt; tuns correctly with no problem&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i configure level N2 of tls/ssl ,cloudera manager agent fails to connect !.&lt;/P&gt;
&lt;P&gt;In CM server fails to have heartbeat:&lt;/P&gt;
&lt;P&gt;when i checked :tail -f /var/log/cloudera-scm-agent/cloudera-scm-agent.log&lt;/P&gt;
&lt;P&gt;I got ERROR :&lt;/P&gt;
&lt;P&gt;File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 292, in connect_ssl&lt;BR /&gt;return m2.ssl_connect(self.ssl, self._timeout)&lt;BR /&gt;SSLError: certificate verify failed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The agent config files :&lt;/P&gt;
&lt;P&gt;server_host=datastore.xxx.fr&lt;/P&gt;
&lt;P&gt;server_port=7182&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# Use TLS and certificate validation when connecting to the CM server.&lt;BR /&gt;use_tls=1&lt;/P&gt;
&lt;P&gt;max_cert_depth=9&lt;/P&gt;
&lt;P&gt;verify_cert_file=/opt/cloudera/security/x509/cmhost.pem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;---the cmhost.pem get my certifcate correctly&lt;/P&gt;
&lt;P&gt;---when i run :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sudo openssl s_client -connect datastore.xxx.fr:7182 &amp;lt; /opt/cloudera/security/x509/cmhost.pem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i got :&lt;/P&gt;
&lt;P&gt;CONNECTED(00000003)&lt;BR /&gt;depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3&lt;BR /&gt;verify return:1&lt;BR /&gt;depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3&lt;BR /&gt;verify return:1&lt;BR /&gt;depth=0 CN = xxx.fr&lt;BR /&gt;verify return:1&lt;BR /&gt;---&lt;BR /&gt;Certificate chain&lt;BR /&gt;0 s:/CN=xxx.fr&lt;BR /&gt;i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3&lt;BR /&gt;1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3&lt;BR /&gt;i:/O=Digital Signature Trust Co./CN=DST Root CA X3&lt;/P&gt;
&lt;P&gt;........&lt;/P&gt;
&lt;P&gt;........&lt;/P&gt;
&lt;P&gt;Verify return code: 0 (ok)&lt;BR /&gt;---&lt;BR /&gt;DONE&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 21:08:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/285923#M212090</guid>
      <dc:creator>feddou22</dc:creator>
      <dc:date>2019-12-18T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Level 2: Enabling Cloudera Manager Agent Hosts to Authenticate the Server's Certificate ---Fails !</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/285946#M212107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We no longer refer to levels in our documentation but based on what is posted here it would appear as though are on Step 4 of our current documentation for manual certificate configuration.&amp;nbsp;While we understand that you might not be able to provide the full raw contents of your certificate in this forum please ensure that the certificates you are attempting to use have the following two x509 Extended Key Usage attributes. These 2 EKUs must be present in order to use Client/Server Authentication which is the final step of deployment should you chose to go that far. These two EKUs are noted in our documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;X509v3 Extended Key Usage:&lt;BR /&gt;TLS Web Client Authentication&lt;/P&gt;&lt;P&gt;TLS Web Server Authentication&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/how_to_configure_cm_tls.html#concept_gkg_xs3_lx" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/how_to_configure_cm_tls.html#concept_gkg_xs3_lx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/how_to_configure_cm_tls.html#topic_3" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/how_to_configure_cm_tls.html#topic_3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/how_to_configure_cm_tls.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/how_to_configure_cm_tls.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please make sure that there are no leading or trailing spaces on any configuration parameters within the agent configuration file. If your certificate is non-single root, signed by an intermediate, you may have better success using the verify_cert_dir parameter so that all of your CA certificates including the root certificate are present. When using the verify_cert_dir parameter you must use c_rehash provided by&amp;nbsp;&lt;SPAN&gt;openssl-perl.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 22:07:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/285946#M212107</guid>
      <dc:creator>lhebert</dc:creator>
      <dc:date>2019-12-18T22:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Level 2: Enabling Cloudera Manager Agent Hosts to Authenticate the Server's Certificate ---Fails !</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286005#M212145</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support and all cloudera team.&lt;/P&gt;&lt;P&gt;i resolved that by ,adding my rootca to my cloudera keystore and trustore .Then i reconfigured&amp;nbsp; the agent config.ini to point to the rootca.pem .&lt;/P&gt;&lt;P&gt;But when i inspect host i got this error .(i am using cdh 6.1.1 on ubuntu 16.04)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ccomm1.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25779iCB7A60DF07C4AA74/image-size/large?v=v2&amp;amp;px=999" role="button" title="ccomm1.png" alt="ccomm1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ccomm2.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25780i9C399A49EA0AFED9/image-size/large?v=v2&amp;amp;px=999" role="button" title="ccomm2.png" alt="ccomm2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:28:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286005#M212145</guid>
      <dc:creator>feddou22</dc:creator>
      <dc:date>2019-12-19T11:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Level 2: Enabling Cloudera Manager Agent Hosts to Authenticate the Server's Certificate ---Fails !</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286023#M212161</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at the Agent configuration on the reported host and make sure that use_tls is set to 1 and not 0. This error usually happens when Cloudera Manager expects TLS from the agent (Based on enabled options&lt;BR /&gt;) but the agent is continuing to send data using clear text. If the parameter is set to 1 please restart the agent to ensure that it is set properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The agent performs multiple task some of these task are performed with data transmitted through the heartbeat others are handled by a pull method through the agent.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 15:04:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286023#M212161</guid>
      <dc:creator>lhebert</dc:creator>
      <dc:date>2019-12-19T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Level 2: Enabling Cloudera Manager Agent Hosts to Authenticate the Server's Certificate ---Fails !</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286028#M212165</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;When i passed to level3 .all seems good and well-configured .&lt;/P&gt;&lt;P&gt;The error is not been&amp;nbsp; re-showen again .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 15:48:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Level-2-Enabling-Cloudera-Manager-Agent-Hosts-to/m-p/286028#M212165</guid>
      <dc:creator>feddou22</dc:creator>
      <dc:date>2019-12-19T15:48:33Z</dc:date>
    </item>
  </channel>
</rss>

