[Zope] XML-RPC over SSL

Petr Knapek knapek@knapek.pvt.net
27 Apr 2001 06:49:13 +0200


Hi Zopists,
does anybody of you know how to do "subject" in Zope 2.3.0 (2.3.1) on
Linux Debian.

I have already installed M2Crypto but do not know how to use it.  When I
tried this in python:

from M2Crypto import xmlrpclib2
s =3D xmlrpclib2.Server("https://uid:password@host/")
print s.index_html()

this error is returned:

>>> print s.index_html()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/zope/lib/python/xmlrpclib.py", line 547, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/zope/lib/python/xmlrpclib.py", line 630, in __request
    request
  File "/usr/lib/zope/lib/python/xmlrpclib.py", line 560, in request
    h =3D httplib.HTTP(host)
  File "/usr/lib/python1.5/httplib.py", line 51, in __init__
    if host: self.connect(host, port)
  File "/usr/lib/python1.5/httplib.py", line 75, in connect
    raise socket.error, "nonnumeric port"
socket.error: nonnumeric port


Can anybody help me?

Our configuration:
Zope 2.3.0 with own ZServer (not SSL support)
Apache in front of Zope as HTTPS proxy (communication between
Zope-Apache over HTTP)


Petr
--=20
Petr Kn=E1pek
Network Development
NEXTRA Czech Republic s.r.o. http://www.nextra.cz/
V Celnici 10 / CZ - 117 21 Praha 1 / Czech Republic
Tel: +420/2/96 355 111 / Mobile: +420/604-202 611
E-Mail: petr.knapek@nextra.com

Contact address:
Hlinky 114 / CZ - 603 00 Brno / Czech Republic
Tel: +420/5/43 554 150
see Disclaimer http://www.nextra.cz/disclaimer/