这在命令行中非常有效,
我想在Python代码中使用M2Crypto进行相同的操作。
openssl crl2pkcs7 -nocrl -certfile ra.crt -out ra-ca.p7b -certfile ca.crt.
请您参考如下方法:
查看以下链接。这将为您提供帮助。
[http://www.coderexception.com/CzmubmbbUJQXXJWP/how-can-i-use-python-to-output-a-certificatesonly-pkcs7][1]
