Export (0) Print
Expand All

Registering an Advanced Certificate on the Windows Embedded CE-based Web Server (Windows Embedded CE 6.0)

1/6/2010

After you store the certificate on the Windows Embedded CE-based Web server as described in Installing the Certificate on a Windows Embedded CE-based Web Server, you must make the Web server aware of the new certificate. You do this by configuring the Web Server Registry Settings.

To register the certificate
  1. Add the following registry key.

    [HKEY_LOCAL_MACHINE\COMM\HTTPD\SSL] 
    "IsEnabled"=dword:1 
    "CertificateSubject"="<Name of the certificate>" 
    
    Ee499815.note(en-US,WinEmbedded.60).gifNote:
    To include this configuration in the run-time image, add this registry setting in %_WINCEROOT%\OSDesigns\<OS Design name>\<OS Design Name>\Wince600\<BSP>\OAK\files\Project.reg file and rebuild the run-time image.
  2. Verify that the connection between Platform Builder and the run-time image on the Windows Embedded CE–powered device is currently active.

  3. In Platform Builder, open the Target Control window by choosing Target Control on the Target menu.

  4. At the command prompt, type the following command to refresh the Web server on the Windows Embedded CE–powered device.

    s services -d refresh htp0:
    

    You must refresh the Web server so that the server can access the updated certificate information. You can use the command-line option for Servicesd.exe, if the AllowCmdLine value is set to 1 under the HKEY_LOCAL_MACHINE\Services registry key. For more information about how to use these options, see Using Services.exe from the Command Line.

    Ee499815.note(en-US,WinEmbedded.60).gifNote:
    You must refresh the Web server after you install the certificate on the device, even if the registry settings are configured in the run-time image.

The SSL certificate is now registered on the device. This enables you to browse secure Web sites (with URLs that begin with "https://").

Community Additions

ADD
Show:
© 2014 Microsoft