We need some way to enable/disable certificate checking. Currently the library uses the top-level wrap_socket function, which got removed in Python 3.12; that one never did certificate validation. However, using default context's wrap_socket always did certificate validation (since Python 2.7.x for some x < 20 IIRC).
We need some way to enable/disable certificate checking. Currently the library uses the top-level wrap_socket function, which got removed in Python 3.12; that one never did certificate validation. However, using default context's wrap_socket always did certificate validation (since Python 2.7.x for some x < 20 IIRC).