aboutsummaryrefslogtreecommitdiffstats
path: root/mitmplayback
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-02-20 12:12:55 +1300
committerAldo Cortesi <aldo@nullcube.com>2011-02-20 12:17:10 +1300
commit4fc807cedd9a481db9e0fc1633d8c169f53f4a8e (patch)
treefdb9ebc487e50d7546e8eb8b50e29223458b9ec4 /mitmplayback
parentd7ace1ce9ef3832fc766c25067f8cd23fea62d8a (diff)
downloadmitmproxy-4fc807cedd9a481db9e0fc1633d8c169f53f4a8e.tar.gz
mitmproxy-4fc807cedd9a481db9e0fc1633d8c169f53f4a8e.tar.bz2
mitmproxy-4fc807cedd9a481db9e0fc1633d8c169f53f4a8e.zip
Clean up certificate generation.
- Use templates for config files. We can re-introduce customization of the certificate attributes when we need them. - Split CA and cert generation into separate functions. - Generation methods provide an error return when generation fails. - When the user explicitly specifies a certificate, we don't generate it, but fail if it doesn't exist.
Diffstat (limited to 'mitmplayback')
-rwxr-xr-xmitmplayback2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmplayback b/mitmplayback
index 6a98d49f..ddfe233b 100755
--- a/mitmplayback
+++ b/mitmplayback
@@ -56,7 +56,7 @@ if __name__ == '__main__':
if options.quiet:
options.verbose = 0
- utils.process_certificate_option_group(options)
+ utils.process_certificate_option_group(parser, options)
if options.cache is not None:
options.cache = os.path.expanduser(options.cache)