Michael Str�der wrote:
>
> HI!
>
> I'm currently having a hard time integrating support for MS Internet
> Explorer 4+ into my poor man's CA package pyCA.
>
> I managed to generate a certificate request and get the issued
> certificate installed into IE with some small VBScript code.
>
> But I have several questions:
>
> 1. MS IE accepts CA certs as DER-encoded binary data with mime type
> application/x-x509-ca-cert. But how to get other cert data into IE?
> E.g. getting other certs as DER-encoded with mime type
> application/x-x509-email-cert does not work neither does something with
> certHelper.AcceptPKCS7(). Same question for CRLs.
>
You need to convert the certificate to base64 PKCS#7 format first, try:
openssl crl2pkcs7 -nocrl -in cert.pem -out p7.pem
Chop off the begin and end lines and try feeding the result into
AcceptPKCS7() using some script. You might need to chop of the end of
line characters as well.
AFAIK IE4 doesn't understand/like CRLs. IE5 may tolerate them as the
Netscape MIME type application/x-pkcs7-crl. However you can specify a
location it will auto download CRLs by including a CRL distribution
points extension in the CA certificate.
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
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]