Python functions for generate a X509 client certificate for XMPP or HTTP FOAF+SSL authentication (including WebId and XMPP id at SubjectAltName)