1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

Add clock sync tolerance of 5min for signed certs

This commit is contained in:
Lauri Võsandi 2017-04-13 15:35:08 +00:00
parent 4a9abab362
commit 7a7f22c1a1

View File

@ -90,7 +90,7 @@ class SignHandler(asynchat.async_chat):
).public_key( ).public_key(
request.public_key() request.public_key()
).not_valid_before( ).not_valid_before(
now now - timedelta(minutes=5)
).not_valid_after( ).not_valid_after(
now + timedelta(days= now + timedelta(days=
config.SERVER_CERTIFICATE_LIFETIME config.SERVER_CERTIFICATE_LIFETIME