EAP-TLS Client enrollment recovery.



Our Client (Win CE 5.00 device) connects to a wireless network using EAP-TLS
authentication.
We programmatically enroll Clients (web-enrollment) that get certificates
from Windows Server 2003.
Client connects to the network and works fine until we have to reboot Client
(Win CE).

On reboot all certificate stores (“MY”, “ROOT” and “CA”) loose certificates
installed during enrollment processes (Client has a RAM-based registry) and
we have to go through the regular enrollment process once again. Going
through this process is not feasible in some cases (device has to visit a
special station), so we need to re-install certificate from a file.

I tried to serialize certificate (CertSerializeCertificateStoreElement())
just after enrollment and than restore certificate (using
CertAddSerializedElementToStore) and a session key after reboot, but network
authentication fails with the following error:

Reason-Code = 260
Reason = The message or signature supplied for verification has been altered

My question is
What is the correct way to restore certificate and Client authentication
settings/properties programmatically?

Thanks Anthony

.



Relevant Pages

  • Re: Wireless WPA on SBS not authenticating
    ... I manually updated the cert on my client machine just fine. ... Automatic certificate enrollment for local system failed to contact the ... Enrollment will not be performed. ... certificate then tested on wireless. ...
    (microsoft.public.windows.server.sbs)
  • Re: LDP client authentication fails
    ... The remote server has requested SSL client authentication, ... I have copied the personal certificate as follows: ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDP client authentication fails
    ... I got the LDP working with LDAP server under server client authentication ... I did not installed the certificate in pfx format .. ... Client cert auth won't work without that. ...
    (microsoft.public.windows.server.active_directory)
  • RE: Client certificate authentication
    ... "SSPI Mutual Authentication Is Indicated on the Client Side But Not on the ... I have seen an known issue of AcceptSecurityContext() not return ... successfully able to map the certificate to a user account in AD. ...
    (microsoft.public.platformsdk.security)
  • RE: Client certificate authentication
    ... "SSPI Mutual Authentication Is Indicated on the Client Side But Not on the ... I have seen an known issue of AcceptSecurityContext() not return ... successfully able to map the certificate to a user account in AD. ...
    (microsoft.public.platformsdk.security)

Quantcast