Closed jackwotherspoon closed 6 months ago
Timezone aware is becoming the new best practice and recommended datetime in Python 3.12. As such when creating our certs in tests we should update to use not_valid_after_utc as is the new recommendation.
not_valid_after_utc
Deprecation notice found here: https://cryptography.io/en/latest/x509/reference/#cryptography.x509.Certificate.not_valid_after
Timezone aware is becoming the new best practice and recommended datetime in Python 3.12. As such when creating our certs in tests we should update to use
not_valid_after_utc
as is the new recommendation.Deprecation notice found here: https://cryptography.io/en/latest/x509/reference/#cryptography.x509.Certificate.not_valid_after