[Twisted-Python] SSL example in tutorial isn't working for me
maoy at cis.upenn.edu
Sat Nov 29 21:17:36 EST 2003
I see what's wrong here.
This is part of finger22.py
"""Create an SSL context.
This is a sample implementation that loads a certificate from a
ctx = SSL.Context(SSL.SSLv23_METHOD)
I should have substituted the certificate_file to the certificate file..
On Sat, 29 Nov 2003, Jp Calderone wrote:
> On Sat, Nov 29, 2003 at 06:06:05PM -0500, Yun Mao wrote:
> > http://www.twistedmatrix.com/documents/howto/listings/finger/finger22.py
> > Error:
> > 2003/11/29 18:00 EST [-] NameError: global name 'SSL' is not defined
> > Is it because someone commented out from OpenSSL import SSL?
> Probably. It is unclear why this has been done.
> > I uncomment it and emerge pyOpennSSL but it still doesn't work. :(
> How does it not work?
More information about the Twisted-Python