Hi HCC,
I'm working with a customer to help them connect to hive using ODBC and all was working well until recently, the Admins reconfigured Knox to require only TLSv1.2. Since then, the connection to Knox is failing as follows:
echo "show databases" | isql -v -d, Knox
[S1000][unixODBC][Hortonworks][ThriftExtension] (6) Error occurred while contacting server: SSL_connect: error code: 0. This could be because you are trying to establish a SSL connection to a server that does not have SSL enabled.
[ISQL]ERROR: Could not SQLConnect
Here is the /etc/odbc.ini file:
[Knox]
HiveServerType=2
Driver =/usr/lib/hive/lib/native/Linux-amd64-64/libhortonworkshiveodbc64.so
Host=xxxxx.xxx
PORT=8443
UID=xxxxx
PWD=xxxxxxx
AuthMech=3
Schema=default
SSL=1
TrustedCerts=/somepath/certificate.cer
HTTPPath=gateway/default/hive
ThriftTransport=2
UseNativeQuery=1
CAIssuedCertNamesMismatch=1
Any ideas, how to configure the Client to use TLSv1.2?