diff --git a/src/codegate/ca/codegate_ca.py b/src/codegate/ca/codegate_ca.py index 9107647e..56240e6b 100644 --- a/src/codegate/ca/codegate_ca.py +++ b/src/codegate/ca/codegate_ca.py @@ -173,7 +173,7 @@ def _load_existing_certificates(self) -> None: self._cert_cache[common_name] = CachedCertificate( cert_path=cert_path, key_path=key_path, - creation_time=datetime.now(datetime.UTC), + creation_time=datetime.now(timezone.utc), ) else: logger.debug(f"Skipping expired certificate for {common_name}")