<span style="font-family: courier new,monospace;">G&#39;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&#39;m brand new to Twisted, and I&#39;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&#39;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&#39;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;">              +--------------------&gt; 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> &lt;------------+</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;">              +--------------------&gt; 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> &lt;-------------+</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;">              +--------------------&gt; 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> &lt;------------------+</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;">              +--------------------&gt; 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&#39;m working from the O&#39;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&#39;m not sure I&#39;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;">