Skip to content

Commit ab2ef43

Browse files
committed
Force TLS in auto-negotiation test and fix TLS version detection
1 parent 081f1af commit ab2ef43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

vertica_python/tests/integration_tests/test_tls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ def test_sslcontext_mutual_TLS(self):
360360
ssl_context.load_cert_chain(certfile=self.client_cert.name, keyfile=self.client_key.name)
361361

362362
self._conn_info['ssl'] = ssl_context
363+
self._conn_info['tlsmode'] = 'require'
363364
with self._connect() as conn:
364365
cur = conn.cursor()
365366
res = self._query_and_fetchone(self.SSL_STATE_SQL)

0 commit comments

Comments
 (0)