this works perfectly in command-line, I would like to do the same using M2Crypto in Python code.
openssl crl2pkcs7 -nocrl -certfile ra.crt -out ra-ca.p7b -certfile ca.crt.
this works perfectly in command-line, I would like to do the same using M2Crypto in Python code.
openssl crl2pkcs7 -nocrl -certfile ra.crt -out ra-ca.p7b -certfile ca.crt.
Checkout the below link. This will help you.
[http://www.coderexception.com/CzmubmbbUJQXXJWP/how-can-i-use-python-to-output-a-certificatesonly-pkcs7][1]