[SOLVED] tis-audit-admin-cert-expiration
Published: November 12, 2025 - 11:05 PM
Good morning,
I encountered a small error with this package.
by :
(A story about how, although both dates are in UTC, Python couldn't determine if they were actually in the same time zone... if I understood correctly...)
Commander.
I encountered a small error with this package.
After checking Stack Overflow, it turned out that the following modifications were needed in the session-setup and package auditing:Error: can't subtract offset-naive and offset-aware datetimes
Code: Select all
date_diff = SSLCertificate(cert).not_after - datetime.utcnow()Code: Select all
date_diff = SSLCertificate(cert).not_after - datetime.now(timezone.utc)Commander.