[Tutor] need help for using ssl in python

Akanksha Govil govilakanksha at yahoo.com
Tue Nov 14 14:49:14 CET 2006


Hi,
I need to create an ssl socket. 
But i am getting the folowing error:


Traceback (most recent call last):
  File "client-Nextone.py", line 35, in ?
    resp = port.editCallPlanConfig(req)
  File "/home/nabanita/new_soap_zsi/NexToneSubnet_services.py", line 38, in editCallPlanConfig
    self.binding.Send(None, None, request, soapaction="setCallPlanConfig", **kw)
  File "/usr/local/lib/python2.4/site-packages/ZSI/client.py", line 266, in Send
    self.h.connect()
  File "/usr/local/lib/python2.4/httplib.py", line 1073, in connect
    ssl = socket.ssl(sock, self.key_file, self.cert_file)
AttributeError: 'module' object has no attribute 'ssl'

I have installed OpenSSL/ module for python 2.4 and also 
openssl-0.9.7d-15.15.3
 python-openssl-0.6-2.1
 openssl-devel-0.9.7d-25.1
 
 
Please help.
Akanksha

 
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061114/27f42021/attachment.htm 


More information about the Tutor mailing list