<?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 Issue after Level 2 of TLS security implementation in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-after-Level-2-of-TLS-security-implementation/m-p/58947#M66760</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had implemented the Level 1 TLS encryption and which is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, when I have implemented the Level 2 TLS encryption as per the steps given in below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_sg_config_tls_auth.html#topic_3" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_sg_config_tls_auth.html#topic_3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have started getting below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In cloudera-scm-agent log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[17/Aug/2017 07:24:50 +0000] 31094 MainThread agent ERROR Heartbeating to c018-srv1.e8sec.com:7182 failed.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/agent.py", line 1346, in _send_heartbeat&lt;BR /&gt;self.max_cert_depth)&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/https.py", line 132, in __init__&lt;BR /&gt;self.conn.connect()&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/M2Crypto-0.21.1-py2.6-linux-x86_64.egg/M2Crypto/httpslib.py", line 50, in connect&lt;BR /&gt;self.sock.connect((self.host, self.port))&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/M2Crypto-0.21.1-py2.6-linux-x86_64.egg/M2Crypto/SSL/Connection.py", line 185, in connect&lt;BR /&gt;ret = self.connect_ssl()&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/M2Crypto-0.21.1-py2.6-linux-x86_64.egg/M2Crypto/SSL/Connection.py", line 178, in connect_ssl&lt;BR /&gt;return m2.ssl_connect(self.ssl)&lt;BR /&gt;SSLError: certificate verify failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In Cloudera-scm-Server Log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2017-08-17 07:51:04,118 WARN 118674289@agentServer-169:org.mortbay.log: javax.net.ssl.SSLException: Received fatal alert: unknown_ca&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried by using&amp;nbsp;&lt;SPAN&gt;verify_cert_file&amp;nbsp;as well as by using&amp;nbsp;verify_cert_dir.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody please help me on the same, if I am missing something or anything else needed to be done to fix this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would be really thankful for any help on the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Amit&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 08:21:31 GMT</pubDate>
    <dc:creator>AmitAdhau</dc:creator>
    <dc:date>2017-08-17T08:21:31Z</dc:date>
    <item>
      <title>Issue after Level 2 of TLS security implementation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-after-Level-2-of-TLS-security-implementation/m-p/58947#M66760</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had implemented the Level 1 TLS encryption and which is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, when I have implemented the Level 2 TLS encryption as per the steps given in below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_sg_config_tls_auth.html#topic_3" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_sg_config_tls_auth.html#topic_3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have started getting below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In cloudera-scm-agent log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[17/Aug/2017 07:24:50 +0000] 31094 MainThread agent ERROR Heartbeating to c018-srv1.e8sec.com:7182 failed.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/agent.py", line 1346, in _send_heartbeat&lt;BR /&gt;self.max_cert_depth)&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.9.1-py2.6.egg/cmf/https.py", line 132, in __init__&lt;BR /&gt;self.conn.connect()&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/M2Crypto-0.21.1-py2.6-linux-x86_64.egg/M2Crypto/httpslib.py", line 50, in connect&lt;BR /&gt;self.sock.connect((self.host, self.port))&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/M2Crypto-0.21.1-py2.6-linux-x86_64.egg/M2Crypto/SSL/Connection.py", line 185, in connect&lt;BR /&gt;ret = self.connect_ssl()&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/M2Crypto-0.21.1-py2.6-linux-x86_64.egg/M2Crypto/SSL/Connection.py", line 178, in connect_ssl&lt;BR /&gt;return m2.ssl_connect(self.ssl)&lt;BR /&gt;SSLError: certificate verify failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In Cloudera-scm-Server Log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2017-08-17 07:51:04,118 WARN 118674289@agentServer-169:org.mortbay.log: javax.net.ssl.SSLException: Received fatal alert: unknown_ca&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried by using&amp;nbsp;&lt;SPAN&gt;verify_cert_file&amp;nbsp;as well as by using&amp;nbsp;verify_cert_dir.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody please help me on the same, if I am missing something or anything else needed to be done to fix this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would be really thankful for any help on the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Amit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 08:21:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-after-Level-2-of-TLS-security-implementation/m-p/58947#M66760</guid>
      <dc:creator>AmitAdhau</dc:creator>
      <dc:date>2017-08-17T08:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue after Level 2 of TLS security implementation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-after-Level-2-of-TLS-security-implementation/m-p/59072#M66761</link>
      <description>&lt;P&gt;I am able to resolve this issue by setting the&amp;nbsp;verify_cert_dir in /etc/cloudera-scm-agent/config.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was missing the root certificate file, which I had download from CA authority and added to the verify_cert_dir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I had executed below command to verify the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;openssl verify -verbose -CAfile &amp;lt;(cat cert_intermediate_ca.pem thawte_root_ca.pem) hostname.pem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gave me message: &amp;nbsp;hostname.pem: OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:57:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-after-Level-2-of-TLS-security-implementation/m-p/59072#M66761</guid>
      <dc:creator>AmitAdhau</dc:creator>
      <dc:date>2017-08-21T11:57:07Z</dc:date>
    </item>
  </channel>
</rss>

