how to convert PEM to P7B with python

送分小仙女□ 提交于 2019-12-24 06:14:47

问题


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.

回答1:


Checkout the below link. This will help you.

[http://www.coderexception.com/CzmubmbbUJQXXJWP/how-can-i-use-python-to-output-a-certificatesonly-pkcs7][1]



来源:https://stackoverflow.com/questions/17583737/how-to-convert-pem-to-p7b-with-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!