Resolved. Was: Need a certificate verification help

2001-03-14 Thread Aaron Stromas
Dr S N Henson wrote: > http://www.openssl.org/support/faq.html#PROG7 > > for what I suspect is the cause of the error. > Yes, it was. OpenSSL_add_all_algorithms() solved it. Thank you. -- Aaron Stromas| "Tick-tick-tick!!!... ja, Pantani is weg..." Oracle Corp |

Re: Need a certificate verification help

2001-03-13 Thread Aaron Stromas
Dr S N Henson wrote: > Aaron Stromas wrote: > > > > Sorry, it's a typo, of course. I'm using X509_verify_cert(&ctx). Was it > > supposed to work, i.e., successfully verify? > > > > See what error you get and see if: > > openssl verify -CAfile cacert.pem cert.pem > > works. It does. Returns OK.

Re: Need a certificate verification help

2001-03-13 Thread Dr S N Henson
Aaron Stromas wrote: > > Sorry, it's a typo, of course. I'm using X509_verify_cert(&ctx). Was it > supposed to work, i.e., successfully verify? > See what error you get and see if: openssl verify -CAfile cacert.pem cert.pem works. Steve. -- Dr Stephen N. Henson. http://www.drh-consultancy

Re: Need a certificate verification help

2001-03-13 Thread Aaron Stromas
Sorry, it's a typo, of course. I'm using X509_verify_cert(&ctx). Was it supposed to work, i.e., successfully verify? -a Dr S N Henson wrote: > Aaron Stromas wrote: > > > > I am probably making a silly mistake but I've been stuck on it for quite > > a long time. Please help me to get out of my p

Re: Need a certificate verification help

2001-03-13 Thread Dr S N Henson
Aaron Stromas wrote: > > I am probably making a silly mistake but I've been stuck on it for quite > a long time. Please help me to get out of my predicament. This is what > I'm doing: > > BIO *bstdout; > X509 *x, *ca; > X509_STORE *store; > X509_STORE_CTX ctx; > > bstdout = BIO_new_fp(stdou

Need a certificate verification help

2001-03-13 Thread Aaron Stromas
I am probably making a silly mistake but I've been stuck on it for quite a long time. Please help me to get out of my predicament. This is what I'm doing: BIO *bstdout; X509 *x, *ca; X509_STORE *store; X509_STORE_CTX ctx; bstdout = BIO_new_fp(stdout, BIO_NOCLOSE); /* load & show CA cert