On Aug 31, 2006, at 4:32 AM, Phil Mayers wrote:
Unlike the older ContextFactory classes, CertificateOptions has somewhat more modern requirements not dictated by HTTP. Specifically, the method is TLSv1 and certificates are required.
import twisted import twisted.internet.ssl ssl.CertificateOptions()
Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'ssl' is not defined
When was that added?
Your import statement is not consistent with your usage. You probably wanted: from twisted.internet import ssl