Re: CEnroll and EAP/TLS
From: John Banes [MS] (jbanes_at_online.microsoft.com)
Date: 01/21/04
- Next message: Richard Ward: "Re: Custom Authorization Package with the Microsoft GINA..."
- Previous message: Aftab Alam: "Creating PKCS#7"
- In reply to: John Starks: "CEnroll and EAP/TLS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 20 Jan 2004 23:34:57 -0800
I can only suggest that you examine the "key prov info" property on the
certificate in the certificate store, before and after the re-import, and
see if there are differences...
Regards,
John Banes
[Microsoft Security Developer]
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"John Starks" <js-newsREMOVE@lrce.net> wrote in message
news:OVXDvdv3DHA.1184@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I'm attempting to use the CEnroll API in VBScript through IE to install
user
> certificates for 802.1x (EAP/TLS). I have no problem generating a
request,
> sending it to a third-party CA, and adding the resulting signed
certificate
> to the user's store, but Windows XP refuses to use the certificate for
> 802.1x. I have checked the Certificates snap-in, and the certificate is
set
> up for Client Authentication and seems to be acceptable as far as
> certificate path goes.
>
> What makes this situation particularly vexing is that if I use the
> Certificates MMC snap-in to export the certificate and key in PKCS#12
> format, delete the key, and finally reimport it into exactly the same
> certificate store, Windows XP accepts the certificate for use in 802.1x.
> Without this step, I get "Windows was unable to find a certificate to log
> you on to the network <SSID>."
>
> I cannot perceive any difference between the certificate's properties
before
> or after the re-import. Some relevant code:
>
> Dim certHelper
> Set certHelper = CreateObject("CEnroll.CEnroll")
> ...
> certHelper.AcceptPKCS7(PKCS7Cert)
>
> Any ideas about what might be causing this? Are there any properties I
> should be setting before accepting the certificate in order to tell
Windows
> that it's OK to use it for EAP/TLS? Thanks.
>
> Cheers,
> John Starks
>
>
- Next message: Richard Ward: "Re: Custom Authorization Package with the Microsoft GINA..."
- Previous message: Aftab Alam: "Creating PKCS#7"
- In reply to: John Starks: "CEnroll and EAP/TLS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|