Python 3.10 deprecated ssl.PROTOCOL_TLS and ssl.PROTOCOL_SSLv23 constants which were aliases to each other. Use of them now causes a warning to be displayed:
ssl.PROTOCOL_TLS
ssl.PROTOCOL_SSLv23
/usr/lib/python3.10/site-packages/ipalib/util.py:347: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
Use ssl.PROTOCOL_TLS_CLIENT instead, this constant is available since Python 3.6.
ssl.PROTOCOL_TLS_CLIENT
Already reported in https://pagure.io/freeipa/issue/9113
https://github.com/freeipa/freeipa/pull/6217
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)