Re: MS CAPI & OpenSSL interop

2009-04-16 Thread ThanhTrung Do
> From: Dr. Stephen Henson > Subject: Re: MS CAPI & OpenSSL interop > To: openssl-users@openssl.org > Date: Thursday, April 16, 2009, 5:22 PM > On Thu, Apr 16, 2009, ThanhTrung Do > wrote: > > > > > Dear All, > > > > I run into a problem wi

MS CAPI & OpenSSL interop

2009-04-16 Thread ThanhTrung Do
Dear All, I run into a problem with MS CAPI and OpenSSL, googled a lot and found some information about endianness, tried but got no luck. I'm writing a mini-driver for a smartcard, my card does not support key generation, so I have to import keys from Private Key Blobs sent by CAPI. In Card

error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned

2009-01-05 Thread ThanhTrung Do
Dear All, I run into a weird problem, so please help to give me some hints if you guys experienced the same thing. 1) I set-up a self-signed CA, keep the root CA private key in a Cryptoflex 32K card powered by OpenSC and EnginePKCS11. 2) I also have 2 other smart cards, both of them have certi

Re: OpenSSL 0.9.8i breaks SMIME sign/verify ??

2008-11-21 Thread ThanhTrung Do
PROTECTED]> > Subject: Re: OpenSSL 0.9.8i breaks SMIME sign/verify ?? > To: openssl-users@openssl.org > Date: Friday, November 21, 2008, 7:41 PM > On Fri, Nov 21, 2008, ThanhTrung Do wrote: > > > Hi forks, > > > > I've been using OpenSSL 0.9.8h, I use it

OpenSSL 0.9.8i breaks SMIME sign/verify ??

2008-11-21 Thread ThanhTrung Do
Hi forks, I've been using OpenSSL 0.9.8h, I use it for SMIME sign/verify. I've just upgraded to OpenSSL 0.9.8i and my code doesn't work anymore. The error is: [error:21075081:PKCS7 routines:PKCS7_verify:smime text error] After spending sometime to investigate, I see the only diff is: the SMIME_