Skip to content

Commit a5e3914

Browse files
committed
load system certificates in addition to redshift's cert
1 parent e019278 commit a5e3914

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)