summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-03-17 10:50:18 +0100
committerJan Dittberner <jandd@cacert.org>2018-03-17 10:50:18 +0100
commit083f672c20430d9eaeac14ae3059aa891e478a1c (patch)
tree304c6d577682ff14cf78f7e96edd07a85168aebd /tools
parent69524cc54f1a069151dfd36a1e41b2f73effcc85 (diff)
downloadcacert-infradocs-083f672c20430d9eaeac14ae3059aa891e478a1c.tar.gz
cacert-infradocs-083f672c20430d9eaeac14ae3059aa891e478a1c.tar.xz
cacert-infradocs-083f672c20430d9eaeac14ae3059aa891e478a1c.zip
Use full year for expiration date
Diffstat (limited to 'tools')
-rwxr-xr-xtools/sslcert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sslcert.py b/tools/sslcert.py
index 531a5b5..cb1dc78 100755
--- a/tools/sslcert.py
+++ b/tools/sslcert.py
@@ -47,7 +47,7 @@ def get_serial(cert):
def get_expiration(cert):
return datetime.strptime(
cert.tbsCertificate.validity.valid_to, '%Y%m%d%H%M%SZ'
- ).strftime('%b %d %H:%M:%S %y GMT')
+ ).strftime('%b %d %H:%M:%S %Y GMT')
def get_sha1fp(certdata):