Also, it would be nice if the docs on this linked to http://docs.python.org/release/2.6.6/library/ssl.html#ssl.SSLSocket.getpeercert