Alexander Tyshlek wrote:
> 
> Hello All!
> 
> Does anybody successfully installed user certificate in MSIE
> 
> In MSDN I've seen following example on VBScript:
> 
> Private Key Generation in MSIE was successfull.
> I've generated user certificate using `openssl ca -msie_hack ...`,
> signed it by crypto/pkcs7/sign, insert it in
> document.result.result.value and ... obtained error 80092004?!!
> I've tested DER-encoded and PEM-encoded user certificate for signing,
> but result is same.

You don't need msie_hack any more.

Take the certificate and do:

openssl crl2pkcs7 -nocrl -certfile cert.pem -out p7.pem

Now strip the begin and end lines from the result (p7.pem) and try
feeding that to AcceptPKCS7. If that doesn't work try removing the
CR+LFs first but I don't think that is necessary.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


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

Reply via email to