Convergence icon indicating copy to clipboard operation
Convergence copied to clipboard

Notary fails for sites relying on SNI

Open nwp90 opened this issue 13 years ago • 10 comments

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.

nwp90 avatar Sep 01 '11 23:09 nwp90

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

moxie0 avatar Oct 02 '11 18:10 moxie0

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

ewanm89 avatar Oct 11 '11 14:10 ewanm89

@ewanm89, you on it? =)

moxie0 avatar Oct 13 '11 01:10 moxie0

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.

ewanm89 avatar Oct 13 '11 14:10 ewanm89

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

moxie0 avatar Nov 07 '11 21:11 moxie0

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?

ewanm89 avatar Nov 08 '11 01:11 ewanm89

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

reissmann avatar Nov 08 '11 17:11 reissmann

@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 avatar Nov 08 '11 23:11 ewanm89

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.

ewanm89 avatar Nov 08 '11 23:11 ewanm89

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

reissmann avatar Nov 09 '11 13:11 reissmann