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