From 7e5671b792f1e37fd4919164285637c11722d014 Mon Sep 17 00:00:00 2001 From: HunterSG7 Date: Wed, 27 Mar 2024 07:17:37 -0400 Subject: [PATCH] Fixed cert warning --- taky/util/anc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taky/util/anc.py b/taky/util/anc.py index 4825c12..d0dbab1 100644 --- a/taky/util/anc.py +++ b/taky/util/anc.py @@ -328,8 +328,8 @@ def add_certificate(self, cert): self.cert_db_sn[cert.serial_number] = { "status": "V", - "issued": cert.not_valid_before, - "expires": cert.not_valid_after, + "issued": cert.not_valid_before_utc, + "expires": cert.not_valid_after_utc, "serial_num": cert.serial_number, "name": common_name, }