You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "impyla_test.py", line 2, in <module>
conn = connect(host=‘example.com', port=21050, database=‘default’, auth_mechanism='LDAP', user=‘xxxxx’, password=‘xxxxx’, use_ssl=True, ca_cert='truststore.pem')
File "/usr/local/anaconda3/envs/acs/lib/python3.5/site-packages/impala/dbapi.py", line 147, in connect
auth_mechanism=auth_mechanism)
File "/usr/local/anaconda3/envs/acs/lib/python3.5/site-packages/impala/hiveserver2.py", line 758, in connect
transport.open()
File "/usr/local/anaconda3/envs/acs/lib/python3.5/site-packages/thrift_sasl/__init__.py", line 61, in open
self._trans.open() : " + CONNECTION_URL);
File "/usr/local/anaconda3/envs/acs/lib/python3.5/site-packages/thriftpy/transport/socket.py", line 96, in open
self.sock.connect(addr)
File "/usr/local/anaconda3/envs/acs/lib/python3.5/ssl.py", line 1027, in connect
self._real_connect(addr, False)
File "/usr/local/anaconda3/envs/acs/lib/python3.5/ssl.py", line 1018, in _real_connect
self.do_handshake()
File "/usr/local/anaconda3/envs/acs/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/local/anaconda3/envs/acs/lib/python3.5/ssl.py", line 646, in do_handshake
match_hostname(self.getpeercert(), self.server_hostname)
File "/usr/local/anaconda3/envs/acs/lib/python3.5/ssl.py", line 309, in match_hostname
% (hostname, dnsnames[0]))
ssl.CertificateError: hostname ‘example.com' doesn't match ‘example1.com'
The text was updated successfully, but these errors were encountered:
Hi - I am facing the same issue - Hostname we connected to <> doesn't match certificate provided commonName.
We use the same certificate for impala-shell and it works fine, tableau connection (with Allow for common Name mismatch - checked) and it works fine too.
Log:
The text was updated successfully, but these errors were encountered: