* Remove reference to utcnow
This cleans up some of the datetime handling in the self check.
Note that this changes the format of the state file, since the datetime
now uses ``.isoformat()`` instead of ``.strftime``. Reading an outdated
state file will still work on Python 3.11+, but not on earlier versions.
* Use aware datetime object in x509.CertificateBuilder