We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 748b7e7 commit 5e682d9Copy full SHA for 5e682d9
1 file changed
tools/configure.py
@@ -107,7 +107,7 @@ def main(args):
107
108
cert = x509.load_pem_x509_certificate(args.certificate.read())
109
# Some sanity/validity checks
110
- now = datetime.datetime.now()
+ now = datetime.datetime.utcnow()
111
if cert.not_valid_before > now:
112
fatal("Certificate validity starts in the future.")
113
if cert.not_valid_after <= now:
0 commit comments