cortesi/mitmproxy — pull request #60 by jimlloyd-st (2012-08-14 22:14:57+00:00)
Title: Preserve the genenerated dummy certs directory

Aldo, as we discussed on the mitmproxy@googlegroups.com list, this PR makes it possible to preserve the generated dummy certs. Please take a look and let me know if I am missing anything that belongs with this commit, or if there are any cosmetic/style changes that you'd like me to include. I suggest you pull this PR into a branch.

If --dummy-certs=CERTSDIR is provided, use CERTSDIR as the location
for generating/finding the dummy certs. And in this case, preserve
the CERTSDIR directory on exit.