[Twisted-Python] 'module' object has no attribute 'optionsForClientTLS'

Hynek Schlawack hs at ox.cx
Fri Oct 3 00:28:19 MDT 2014


> I am trying to execute the check_server_certificate.py and I am getting this error… can you guys help me figure out whats going on? its the exact sample code on the website running on Ubuntu 14.04.

Trusty is shipping Twisted 13.2 which doesn't have vital TLS improvements that arrived with 14.0 and that are used in said example.

I strongly recommend against using Twisted older than 14.0 for code involving TLS.  Please use the version from PyPI (14.0.2).



More information about the Twisted-Python mailing list