stillhq.com : Mikal, a geek from Canberra living in Silicon Valley http://www.stillhq.com The life, times, travel and software of Michael Still en Copyright (c) Michael Still 2000 - 2006 blosxom simplerss20 v20050208hh 180 http://blogs.law.harvard.edu/tech/rss SSL, X509, ASN.1 and certificate validity dates /python/tlslite Tue, 05 Aug 2008 15:53:00 PST I was curious about how SSL certificates store validity information (for example when a certificate expires), so I ended up reading <a href="http://www.ietf.org/rfc/rfc2459.txt">the X509 specification</a> (excitingly called "Internet X.509 Public Key Infrastructure Certificate and CRL Profile"), as well as <a href="http://www.obj-sys.com/asn1tutorial/node15.html">the ASN.1 information for UTCTimes</a>. This is all new to me, but I am sure lots of other people understand this. <br/><br/> 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. <br/><br/><i>Tags for this post: python(<a href="http://www.stillhq.com/python"><img src="http://www.stillhq.com/tagicon.cgi?post=/python/tlslite/000001&tag=python&format=.png" border="0" alt="S"></a>) tlslite(<a href="http://www.stillhq.com/tlslite"><img src="http://www.stillhq.com/tagicon.cgi?post=/python/tlslite/000001&tag=tlslite&format=.png" border="0" alt="S"></a>) </i> <a href="http://www.stillhq.com/python/tlslite/000001.commentform.html">Comment</a> http://www.stillhq.com/python/tlslite/000001.html http://www.stillhq.com/python/tlslite/000001.html