|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: Twisted Python and Jabber SSL; Getting Google Talk working with PyXMPP; Python3 venvs for people who are old and grumpy; Example 2.1 from Dive Into Python; Twisted conch; Learning Python
posted at: 15:53 | path: /python/tlslite | permanent link to this entry