[Twisted-Python] strports.service, ssl and forcing client certs
gah at research.att.com
Fri Sep 1 10:33:37 EDT 2006
On Aug 31, 2006, at 4:32 AM, Phil Mayers wrote:
>> Unlike the older ContextFactory classes, CertificateOptions has
>> more modern requirements not dictated by HTTP. Specifically, the
>> 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
> >>> twisted.__version__
> When was that added?
Your import statement is not consistent with your usage. You
from twisted.internet import ssl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python