I need to verify that a certificate was signed by my custom CA. Using OpenSSL command-line utilities this is easy to do:
# Custom CA file: ca-cert.pem # Cer
Like you said, OpenSSL requires connection
M2Crypto doesn't have good verification
How about this ingenious idea:
import os os.system('openssl verify -CAfile ../ca-cert.pem bob.cert')
Its ugly, but it works!