<?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: CA Certificates Error when trying to connect with Impala Driver LINUX in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CA-Certificates-Error-when-trying-to-connect-with-Impala/m-p/293014#M216433</link>
    <description>&lt;P&gt;Oops.&amp;nbsp; Reading the docs it mentions "UseSystemTrustStore" is only valid for windows.&amp;nbsp; Removing this value from by odbc.ini fixes this issue.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2020 17:52:43 GMT</pubDate>
    <dc:creator>mv3</dc:creator>
    <dc:date>2020-03-31T17:52:43Z</dc:date>
    <item>
      <title>CA Certificates Error when trying to connect with Impala Driver LINUX</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CA-Certificates-Error-when-trying-to-connect-with-Impala/m-p/293007#M216426</link>
      <description>&lt;P&gt;I followed the instructions&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-odbc/latest/Cloudera-ODBC-Driver-for-Impala-Install-Guide.pdf" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;for setting up and configuring the Impala driver on Linux.&amp;nbsp; When I test the connection using the isql command line utility I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[S1000][unixODBC][Cloudera][DriverSupport] (1140) Unable to load CA certificates from certs file location.  Please ensure the file exists, has read permission, and has the correct PEM format.
[ISQL]ERROR: Could not SQLConnect&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My odbc.ini looks like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[ODBC Data Sources]

[hadoop]
  Driver=Cloudera ODBC Driver for Impala 64-bit
  AllowHostNameCNMismatch=1
  AllowSelfSignedServerCert=1
  AuthMec=3
  CheckCertRevocation=1
  DelegateKrbCreds=0
  Host={myhost}
  KrbFQDN=_HOST
  KrbRealm={myrealm}
  KrbServiceName=impala
  Min_TLS=1.2
  Port=21050
  ServicePrincipalCanonicalization=1
  SSL=1
  TrustedCerts=/opt/cloudera/impalaodbc/lib/64/cacerts.pem
  UseKeytab=0
  UseOnlySSPI=1
  UseSASL=1
  UseSystemTrustStore=1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the permission on /opt/cloudera/imapalaodbc/lib/64/cacerts.pem is set to 777:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-rwxrwxrwx 1 userXXX groupXXX 246K Dec 31  2018 /opt/cloudera/impalaodbc/lib/64/cac                     erts.pem&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help resolve this error?&amp;nbsp; The cacerts.pem file has the right permission and the file certainly exists.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 20:01:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CA-Certificates-Error-when-trying-to-connect-with-Impala/m-p/293007#M216426</guid>
      <dc:creator>mv3</dc:creator>
      <dc:date>2020-03-31T20:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: CA Certificates Error when trying to connect with Impala Driver LINUX</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CA-Certificates-Error-when-trying-to-connect-with-Impala/m-p/293014#M216433</link>
      <description>&lt;P&gt;Oops.&amp;nbsp; Reading the docs it mentions "UseSystemTrustStore" is only valid for windows.&amp;nbsp; Removing this value from by odbc.ini fixes this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:52:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CA-Certificates-Error-when-trying-to-connect-with-Impala/m-p/293014#M216433</guid>
      <dc:creator>mv3</dc:creator>
      <dc:date>2020-03-31T17:52:43Z</dc:date>
    </item>
  </channel>
</rss>

