in IE5 you can use
xenroll.InstallPKCS7(sz10)
but I don't know if sz10 may be X.509 or only PKCS#7

Martin

----- Original Message -----
From: "Arnaud De Timmerman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 7:44 AM
Subject: import certificate in ie


>
>
> Dear all,
>
> I'm trying to import a certificate in IE5 (using xenroll.dll).
> It works with a cert i've just signed with the root CA, but now with the
root CA
> itself.
>
> I mean
> *******************************
> <SCRIPT LANGUAGE=VBScript>
> Sub INSTALL_OnClick
> Dim sz10
> sz10 = _
> "-----BEGIN CERTIFICATE-----" & _
> "MIIE5zCCA8+gAwIBAgIBADANBgkqhkiG9w0BAQQFADCBrTELMAkGA1UEBhMCRlIx" & _
> "OTA3BgNVBAoUMENlbnRyZSBkZSBjZXJ0aWZpY2F0aW9uIOlsZWN0cm9uaXF1ZSBk" & _
> .................
> *******************************
> this code doesn't work if the certificate is a root CA :(
> but I have to import it in IE as well.
>
> Do I have to change one of these lines ?
>
> *******************************
> xenroll.DeleteRequestCert = TRUE
> err.clear
> xenroll.WriteCertToCSP = true
> xenroll.acceptPKCS7(sz10)
> *******************************
>
> This piece of code was already sent to the list some months ago, but I
don't
> know if it works fine with a root CA :(
>
> thanks.
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to