Open Varbin opened 8 years ago
The HTTPTLSConnection class does not send SNI information.
It can be tested by connecting to an SNI-only site and looking at the certificate:
>>> from tlslite.api import HTTPTLSConnection >>> c = HTTPTLSConnection("biewald.dedyn.io", 443) >>> c.request("GET", "") >>> print(c.tlsSession.serverCertChain.x509List[0].bytes) bytearray(b"0\x82\...\x82\x0evarbin.noip.me0Q...\xc3\xdf")
My python version is 3.5.0 and my tlslite version is 0.4.9 from PyPi.
can you check if this pull request https://github.com/tomato42/tlslite-ng/pull/72 fixes your issue?
Yes! Thank you very much!
The HTTPTLSConnection class does not send SNI information.
It can be tested by connecting to an SNI-only site and looking at the certificate:
My python version is 3.5.0 and my tlslite version is 0.4.9 from PyPi.