OpenSSL's command for Partial Chain in Python

Viewed 239

I'm trying to use OpenSSL module in Python for certificate validation.

I have window's openssl command as:

openssl verify -partial_chain -CAfile Intermediate.pem UserCert.pem

Will you please suggest me equivalent of this in Python?

Requirement: This needs to be done by OpenSSL or any Python3 module. Use of os.system will solve the problem but this won't satisfy the requirement.

0 Answers
Related