Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNI with HTTPTLSConnection missing #112

Open
Varbin opened this issue Dec 4, 2015 · 2 comments
Open

SNI with HTTPTLSConnection missing #112

Varbin opened this issue Dec 4, 2015 · 2 comments

Comments

@Varbin
Copy link

Varbin commented Dec 4, 2015

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.

@tomato42
Copy link
Contributor

tomato42 commented Dec 4, 2015

can you check if this pull request tlsfuzzer/tlslite-ng#72 fixes your issue?

@Varbin
Copy link
Author

Varbin commented Dec 6, 2015

Yes! Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants