Skip to content

Commit 6a110fe

Browse files
committed
fix: always load the default certs on our custom SSL context
Signed-off-by: Norbert Biczo <[email protected]>
1 parent 9530e6c commit 6a110fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ibm_cloud_sdk_core/http_adapter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def init_poolmanager(self, connections, maxsize, block=DEFAULT_POOLBLOCK, **pool
1717
"""Create and use custom SSL configuration."""
1818

1919
ssl_context = create_urllib3_context()
20+
ssl_context.load_default_certs()
2021
ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2
2122

2223
if self._disable_ssl_verification:

0 commit comments

Comments
 (0)