[Twisted-web] Question regarding custom contextFactory for twisted.web.client.Agent

Jason Litzinger jlitzingerdev at gmail.com
Tue May 23 20:59:52 MDT 2017


> The cryptography APIs for making certs are pretty straightforward and well
> documented.  But if another example helps, here's some code that creates a
> self-signed ca cert and a client cert with an intermediate cert in between:
> 
> 
> https://github.com/LeastAuthority/txkube/blob/faa0374fcef6d089af39a98310f1bd798eb54b08/src/txkube/test/test_authentication.py#L17-L29
> 
> https://github.com/LeastAuthority/txkube/blob/faa0374fcef6d089af39a98310f1bd798eb54b08/src/txkube/test/test_authentication.py#L276-L309

Thanks!  I always find that working examples helps an API click for me,
so this is much appreciated.

I'll post here when I submit the PR.

-Jason

> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web



More information about the Twisted-web mailing list