[issue45005] Two Layers of SSL/TLS

Christian Heimes report at bugs.python.org
Wed Aug 25 15:30:50 EDT 2021


Christian Heimes <lists at cheimes.de> added the comment:

You cannot wrap an SSLSocket in another SSLSocket. It doesn't work due to the way how OpenSSL's BIO layer wraps the system socket. You have to use  SSLObject and SSLContext.wrap_bio() for the inner layer.

----------
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45005>
_______________________________________


More information about the Python-bugs-list mailing list