Glenn Hochberg wrote: > Your import statement is not consistent with your usage. You probably > wanted: > from twisted.internet import ssl That is unrelated to the actual question, but you are correct. Copy and paste error.