<span style="font-family: courier new,monospace;">G'day Twisted list,</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">I'm brand new to Twisted, and I'm trying to wrap my head</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">around writing a client that authenticates with a certificate.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">I have a PFX file, and a small Perl script that I can use</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">to download content, but I don't seem to be able to replicate</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">this on other machines. I'd like to replace the whole mess</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">with a more robust Python solution.</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">My communication with the server needs to look like this:</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">----------------------------------------------------------------</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ME: <a href="https://www.example.com/AUTHURL">https://www.example.com/AUTHURL</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> +--------------------> SERVER: (Authenticated)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ME: <a href="https://www.example.com/FETCHCONTENT">https://www.example.com/FETCHCONTENT</a> <------------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> +--------------------> SERVER: (XML content)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ME: <a href="https://www.example.com/ACKNOWLEDGE">https://www.example.com/ACKNOWLEDGE</a> <-------------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> +--------------------> SERVER: (acknowledged)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ME: <a href="https://www.example.com/LOGOUT">https://www.example.com/LOGOUT</a> <------------------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> +--------------------> SERVER: (logout)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">----------------------------------------------------------------</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">I'm working from the O'Reilly Twisted book, and trying to</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">reconcile that with the API and the examples on the Twisted</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">site, but I'm not sure I'm finding what I need. Can anyone</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">give me any pointers on how to proceed? Thanks muchly.</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">--</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Doug Gorley | <a href="mailto:doug.gorley@gmail.com">doug.gorley@gmail.com</a></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">