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

Notary fails for sites relying on SNI #28

Open
nwp90 opened this issue Sep 1, 2011 · 10 comments
Open

Notary fails for sites relying on SNI #28

nwp90 opened this issue Sep 1, 2011 · 10 comments

Comments

@nwp90
Copy link

nwp90 commented Sep 1, 2011

Convergence will currently give a certificate error for sites using SNI to provide appropriate certificates for virtual hosts; it looks like this will magically fix itself once Twisted supports SNI.

http://twistedmatrix.com/trac/ticket/4887 is re. server-side SNI support, http://twistedmatrix.com/trac/ticket/5190 SNI in general.

The 4887 bug mentions waiting for SNI support in PyOpenSSL, which according to https://bugs.launchpad.net/pyopenssl/+bug/705683 is now done.

So, fingers crossed.

@moxie0
Copy link
Owner

moxie0 commented Oct 2, 2011

I think we're going to have to add the SNI support to Twisted if we want this.

@ewanm89
Copy link

ewanm89 commented Oct 11, 2011

I think we have to add it, as we really should support it. I mean all major browsers today support it.

@moxie0
Copy link
Owner

moxie0 commented Oct 13, 2011

@ewanm89, you on it? =)

@ewanm89
Copy link

ewanm89 commented Oct 13, 2011

I'm just about to grab the twisted source to look at it. Currently stuck at the little bit where they are using SVN for scm and I'm on windows at this moment without SVN installed.

@moxie0
Copy link
Owner

moxie0 commented Nov 7, 2011

I've submitted a patch to Twisted for this: http://twistedmatrix.com/trac/ticket/5374

@ewanm89
Copy link

ewanm89 commented Nov 8, 2011

beat me to it, it's the line 299 of twisted/protocols/tls.py that is the call to pyopenssl to turn on TLS right?

@reissmann
Copy link

Great work. I am really waiting for this feature. I checked out the Twisted code but got kind of lost in it.

@ewanm89
Copy link

ewanm89 commented Nov 8, 2011

@reissman, the only reason I didn't was cause I was halfway through doing it myself, twisted is quite nasty in how they jump their code all over the place, in this class out this one...

@ewanm89
Copy link

ewanm89 commented Nov 8, 2011

It's logical the way it's broken down, but it's complicated enough to leave a nice tangled knot to unravel to trace through it.

@reissmann
Copy link

right, i realized that when looking at the code ...

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

4 participants