Skip to content
Snippets Groups Projects
Commit d5976229 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

test_ssl: pretty print

parent b2013e79
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ for s, d in conf_servers:
not_after = x509.get_notAfter().decode('ascii')
expires = datetime.datetime.strptime(not_after, '%Y%m%d%H%M%SZ')
print('TLS cert for {} expires at {}'.format(v, expires.isoformat()))
print('\nTLS cert for {} expires at {}'.format(v, expires.isoformat()))
remaining = expires - datetime.datetime.utcnow()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment