[Dev] Twisted and SSL?
Heikki Toivonen
heikki at osafoundation.org
Wed May 4 09:49:11 PDT 2005
Bryan Stearns wrote:
> Unfortunately, the "somewhere else" web server requires SSL (it's our
> Bugzilla server). Twisted.web's getPage works fine for normal pages, but
> throws from way down deep when the url starts with https: it can't
> "import OpenSSL as SSL".
Right, PyOpenSSL (package name OpenSSL) is Twisted's default SSL engine.
We hook M2Crypto into the picture by wrapping twisted transport in our
own SSL-enabled M2Crypto.SSL.TwistedProtocolWrapper.
You are in luck: I previously made a proof-of-concept WebDAV client with
twisted using getPage and our wrapper :)
See http://wiki.osafoundation.org/bin/view/Journal/HeikkiToivonen20050311
--
Heikki Toivonen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20050504/2f108949/signature.bin
More information about the Dev
mailing list