I'm having  a problem with PKCS7_dataVerify returning 1 (seemingly
success full but displaying the following):

depth=0
[EMAIL PROTECTED]

m
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0
[EMAIL PROTECTED]

m
verify error:num=27:certificate not trusted
verify return:1
depth=0
[EMAIL PROTECTED]

m
verify error:num=21:unable to verify the first certificate
verify return:1

I have had this working before in another program and can’t seem to
figure out what I did wrong here.  I took this code from
crypto/pkcs7/verify.c for the most part.  So what it looks like is that
it’s calling my callback but failing when it tries to verify the cert.
I think it’s the certificate chain that it is failing on but the CA cert
is in the cert store and I verified the hashed link name several times.
These are also the same certs I used in the other program.  The validity
period looks good.  Anybody have any thoughts?

Thanks,

Frank

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to