diff --git a/httpie/ssl_.py b/httpie/ssl_.py index af5ca548db..8ebd5fcb09 100644 --- a/httpie/ssl_.py +++ b/httpie/ssl_.py @@ -48,6 +48,10 @@ def __init__( ssl_version=ssl_version, ciphers=ciphers, ) + # workaround for a bug in requests 2.32.3, see: + # https://github.com/httpie/cli/issues/1583 + if getattr(self._ssl_context, 'load_default_certs', None) is not None: + self._ssl_context.load_default_certs() super().__init__(**kwargs) def init_poolmanager(self, *args, **kwargs):