M2Crypto is the most complete Python wrapper for OpenSSL featuring RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES); SSL functionality to implement clients and servers; HTTPS extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; ZServerSSL.
OpenSSL is an open source software toolkit that implements the SSL/TLS protocol, as well as a general cryptographic library.
|No longer maintained||
"M2crypto is no longer maintained and doesn t work with openssl 1.0 and newer"
from question "Simple DER Cert Parsing in python"