From 7a7f22c1a1f64b08722d064fbe90fb98952415c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Thu, 13 Apr 2017 15:35:08 +0000 Subject: [PATCH] Add clock sync tolerance of 5min for signed certs --- certidude/signer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certidude/signer.py b/certidude/signer.py index 65cd653..4456d5a 100644 --- a/certidude/signer.py +++ b/certidude/signer.py @@ -90,7 +90,7 @@ class SignHandler(asynchat.async_chat): ).public_key( request.public_key() ).not_valid_before( - now + now - timedelta(minutes=5) ).not_valid_after( now + timedelta(days= config.SERVER_CERTIFICATE_LIFETIME