|SSL, X509, ASN.1 and certificate validity dates|
I was curious about how SSL certificates store validity information (for example when a certificate expires), so I ended up reading the X509 specification (excitingly called "Internet X.509 Public Key Infrastructure Certificate and CRL Profile"), as well as the ASN.1 information for UTCTimes. This is all new to me, but I am sure lots of other people understand this.
In the end it wasn't too hard, and now I have hacked support for displaying certificate validity into Python's TLSlite. The point of this post is mainly so I can find that documentation again if I need it, although I'll put the TLSlite patch online as soon as I have had a chance to test it a little better.
Tags for this post: python tlslite ssl validity x509 asn.1
Related posts: Getting Google Talk working with PyXMPP; Twisted Python and Jabber SSL; Dear Lazyweb: how do I check SSL keys for vulnerability?; Finding locking deadlocks in python; Calculating a SSH host key with paramiko; Dear lazy web: writing to the win32 event log in Python
posted at: 15:53 | path: /python/tlslite | permanent link to this entry