Authenticating with a certificate
Doug Gorley <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
G'day Twisted list,
I'm brand new to Twisted, and I'm trying to wrap my head
around writing a client that authenticates with a certificate.
I have a PFX file, and a small Perl script that I can use
to download content, but I don't seem to be able to replicate
this on other machines. I'd like to replace the whole mess
with a more robust Python solution.
My communication with the server needs to look like this:
----------------------------------------------------------------
ME: https://www.example.com/AUTHURL
|
+--------------------> SERVER: (Authenticated)
|
ME: https://www.example.com/FETCHCONTENT <------------+
|
+--------------------> SERVER: (XML content)
|
ME: https://www.example.com/ACKNOWLEDGE <-------------+
|
+--------------------> SERVER: (acknowledged)
|
ME: https://www.example.com/LOGOUT <------------------+
|
+--------------------> SERVER: (logout)
----------------------------------------------------------------
I'm working from the O'Reilly Twisted book, and trying to
reconcile that with the API and the examples on the Twisted
site, but I'm not sure I'm finding what I need. Can anyone
give me any pointers on how to proceed? Thanks muchly.
--
Doug Gorley | [email protected]
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web