[Dev] Twisted and SSL?

Bryan Stearns stearns at osafoundation.org
Wed May 4 10:20:22 PDT 2005


Excellent, Heikki - just what I needed.  Thanks!

(Thanks Bear, too!)
...Bryan

Heikki Toivonen wrote:

>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
>
>  
>
>------------------------------------------------------------------------
>
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>Open Source Applications Foundation "Dev" mailing list
>http://lists.osafoundation.org/mailman/listinfo/dev
>  
>


More information about the Dev mailing list