From 01e052be6a9f999dff961f7a2d1cffa4e166239a Mon Sep 17 00:00:00 2001 From: "[OSC] Sven Schliesing" Date: Tue, 31 Jul 2018 13:33:08 +0200 Subject: [PATCH] Change lifetime of dummy certificate to two years --- mitmproxy/certs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/certs.py b/mitmproxy/certs.py index a5c64a39b..58aea6d5f 100644 --- a/mitmproxy/certs.py +++ b/mitmproxy/certs.py @@ -15,7 +15,7 @@ from mitmproxy.coretypes import serializable # Default expiry must not be too long: https://github.com/mitmproxy/mitmproxy/issues/815 DEFAULT_EXP = 94608000 # = 24 * 60 * 60 * 365 * 3 -DEFAULT_EXP_DUMMY_CERT = 7776000 # = 90 days +DEFAULT_EXP_DUMMY_CERT = 63072000 # = 2 years # Generated with "openssl dhparam". It's too slow to generate this on startup. DEFAULT_DHPARAM = b"""