aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/certutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/certutils.py')
-rw-r--r--netlib/certutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/certutils.py b/netlib/certutils.py
index af6177d8..948eb85d 100644
--- a/netlib/certutils.py
+++ b/netlib/certutils.py
@@ -61,7 +61,7 @@ def dummy_cert(privkey, cacert, commonname, sans):
cert = OpenSSL.crypto.X509()
cert.gmtime_adj_notBefore(-3600*48)
- cert.gmtime_adj_notAfter(60 * 60 * 24 * 30)
+ cert.gmtime_adj_notAfter(60 * 60 * 24 * 30 * 365 * 5)
cert.set_issuer(cacert.get_subject())
cert.get_subject().CN = commonname
cert.set_serial_number(int(time.time()*10000))