diff --git a/base/common/python/pki/nssdb.py b/base/common/python/pki/nssdb.py index 11b716f015b..6f7e9562cf1 100644 --- a/base/common/python/pki/nssdb.py +++ b/base/common/python/pki/nssdb.py @@ -2105,7 +2105,7 @@ def get_cert_info(self, nickname, token=None): not_before = cert_obj.not_valid_before_utc else: # use the deprecated attribute then convert into UTC - not_valid_before = cert_obj.not_valid_before.replace(tzinfo=datetime.timezone.utc) + not_before = cert_obj.not_valid_before.replace(tzinfo=datetime.timezone.utc) cert['not_before'] = self.convert_time_to_millis(not_before) if hasattr(cert_obj, 'not_valid_after_utc'):