Compartilhar via


Configuring a Web Server to use SSL (Windows CE 5.0)

Send Feedback

You can configure your Web Server to authenticate SSL (HTTPS) connections from clients to the server. To enable authentication through SSL, you need to install a certificate (.cer file) and a private key (.pvk file) on your Web Server device. Because Windows CE does not support requesting a certificate from a Windows CE-based Web browser, you need to request the certificate on a desktop computer that uses a Microsoft Windows XP-based browser.

The instructions in this topic apply to non-headless design templates, such as the Enterprise Web Pad. Microsoft does not provide an end-to-end mechanism for importing certificates onto headless Windows CE-based devices. To import a certifcate onto a headless device, you can use the Enroll.exe tool. For more information about this tool and about certificates, see Certificates OS Design Development and How to Enroll for a Certificate Using the Modified Settings. You can also use a Web Server or FTP server to upload a certificate onto your device, and then write an application that calls the appropriate Certificates Functions. For more information, see Certificates Application Development.

To configure your Web Server to use SSL

  1. On a desktop computer that uses a Windows XP-based browser, request a certificate. When you request the certificate, make sure to select a server authentication certificate.

  2. On your development workstation, copy the .cer and .pvk files to the release directory of the OS design for your Web Server. Rebuild the run-time image for your Web Server.

  3. Configure a remote connection from the development workstation to the device. For more information, see Configuring a Connection for Downloading and Debugging.

  4. Download the image to the device. For more information, see Downloading a Run-Time Image.

  5. If you have used a non-headless design template, such as an Enterprise Web Pad, on your target device go to Control Panel, and choose Certificates.

  6. To import the certificate and the corresponding private key, choose the Import button.

    Note   You must install the .cer file before you install the .pvk file to enable the private key to be associated with the certificate.

See Also

SSL Support | Web Server Authentication and Permissions | Web Server Security

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.