aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author[OSC] Sven Schliesing <s.schliesing@ndr.de>2018-07-31 13:33:08 +0200
committer[OSC] Sven Schliesing <s.schliesing@ndr.de>2018-07-31 13:33:08 +0200
commit01e052be6a9f999dff961f7a2d1cffa4e166239a (patch)
tree93192198337c07cd2663274ff347500f1674c7e6
parenta081ba64306bf7f8e03aa9644facbbc027a2e37c (diff)
downloadmitmproxy-01e052be6a9f999dff961f7a2d1cffa4e166239a.tar.gz
mitmproxy-01e052be6a9f999dff961f7a2d1cffa4e166239a.tar.bz2
mitmproxy-01e052be6a9f999dff961f7a2d1cffa4e166239a.zip
Change lifetime of dummy certificate to two years
-rw-r--r--mitmproxy/certs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/certs.py b/mitmproxy/certs.py
index a5c64a39..58aea6d5 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"""