Re: Verify certificate against root?

2010-02-10 Thread Dr. Stephen Henson
On Tue, Feb 09, 2010, skillz...@gmail.com wrote: I'm trying to programmatically verify that a certificate from a sub-CA is signed by a specific root CA. I get an error of 7 (X509_V_ERR_CERT_SIGNATURE_FAILURE) from X509_verify_cert. If I verify with the openssl command line tool using 'openssl

Re: Verify certificate against root?

2010-02-10 Thread skillzero
On Wed, Feb 10, 2010 at 4:23 AM, Dr. Stephen Henson st...@openssl.org wrote: On Tue, Feb 09, 2010, skillz...@gmail.com wrote: I'm trying to programmatically verify that a certificate from a sub-CA is signed by a specific root CA. I get an error of 7 (X509_V_ERR_CERT_SIGNATURE_FAILURE) from

Verify certificate against root?

2010-02-09 Thread skillzero
I'm trying to programmatically verify that a certificate from a sub-CA is signed by a specific root CA. I get an error of 7 (X509_V_ERR_CERT_SIGNATURE_FAILURE) from X509_verify_cert. If I verify with the openssl command line tool using 'openssl verify -CAfile root.pem cert.pem', it returns OK.