From 7ddba22f515aa8997da0b5ee36c8ebc9961493dd Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 20 Feb 2011 13:29:41 +1300 Subject: Certificates are now generated in a temporary per-session directory. This means that certificates don't accumulate in the conf directory, users don't have to clear certificates if the CA is regenerated, and the user can specify a custom CA without invalid certificates being loaded inadvertently. --- mitmrecord | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mitmrecord') diff --git a/mitmrecord b/mitmrecord index ec35bc85..62542036 100755 --- a/mitmrecord +++ b/mitmrecord @@ -61,14 +61,7 @@ if __name__ == '__main__': if options.quiet: options.verbose = 0 - proxy.process_certificate_option_group(parser, options) - - config = proxy.Config( - certfile = options.cert, - certpath = options.certpath, - cacert = options.cacert, - ciphers = options.ciphers - ) + config = proxy.process_certificate_option_group(parser, options) server = proxy.ProxyServer(config, options.port) utils.mkdir_p(options.cache) if os.path.exists(options.cache + "/index.txt"): -- cgit v1.2.3