Certificate lookup/verification

2004-01-12 Thread jiang lei
Hi all, My question is mainly about X509 stores and certificate lookups. I was developing an HTTP client on Windows2000 using OpenSSL. To use windows certificate stores in my program, I used the Windows Crypto API to enumerate through all root CAs and trusted CAs, converting the

How to get peer cert chain?

2003-10-01 Thread jiang lei
Greetings everyone, My case is simple: Windows HTTP client using openssl0.9.7b, a single server cert signed by VeriSign. the path is: [VeriSign Class 3 Public Primary CA ] -> [www.verisign.com/CPS Incorp.by Ref. LTD.(c)97 VeriSign] -> [my own cert]