Validating key/certificate pairs with M2Crypto when a certificate chain is needed

Posted by Charles Duffy on Stack Overflow See other posts from Stack Overflow or by Charles Duffy
Published on 2011-01-08T03:47:35Z Indexed on 2011/01/08 3:54 UTC
Read the original article Hit count: 250

Filed under:
|
|

M2Crypto.X509.X509 objects have a verify(pkey) method, which provide a means of testing that a given certificate does in fact sign a specified key.

This is a good and useful thing -- except that sometimes the certificate I want to verify in this way is invalid without the use of an intermediate certificate, which this API does not appear to allow a way to specify.

Is there an alternate means of validating a certificate / private key pair which will work even when the certificate is unable to stand alone?

© Stack Overflow or respective owner

Related posts about python

Related posts about openssl