Skip to content

Commit 122292a

Browse files
authored
fix(connection): load system certificates (#76)
fix(connection): load system certificates
2 parents e019278 + a5e3914 commit 122292a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redshift_connector/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ def __init__(
561561

562562
ssl_context: SSLContext = SSLContext()
563563
ssl_context.verify_mode = CERT_REQUIRED
564+
ssl_context.load_default_certs()
564565
ssl_context.load_verify_locations(path)
565566

566567
# Int32(8) - Message length, including self.

0 commit comments

Comments
 (0)