mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
Change lifetime of dummy certificate to two years
This commit is contained in:
parent
a081ba6430
commit
01e052be6a
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user