Skip to content

UNSAFE_LEGACY_RENEGOTIATION_DISABLED due to OpenSSL 3.0 #1387

Closed
@berkorbay

Description

@berkorbay

Hi. For Python 3.11 requests module throws an exception due to changes in OpenSSL 3.0. See here and here for detail.

I also get a similar error.

requests.exceptions.SSLError: HTTPSConnectionPool(host='XXXX', port=443): Max retries exceeded with url: XXXX (Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1002)')))

I use a Mac M1 with Python 3.11.4 (zeep==4.2.1). It is possible to overcome it in Ubuntu (by changing openssl.cnf) and/or with urllib3. Is there any way possible to circumvent this inconvenience in Zeep with extra arguments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions