INFO: How to Make SSL Requests Using WinInet on WinCE

ID: Q198566


The information in this article applies to:
  • Microsoft Windows CE, version 2.0


SUMMARY

This article explains how to make SSL requests using the WinInet APIs on Windows CE.


MORE INFORMATION

It is possible to establish a Secure Socket Layer (SSL) or Private Communications Technology (PCT) HTTP session with the WinInet APIs. However, unlike the Win32 counterpart, HttpOpenRequest on WinCE 2.0 does not accept the INTERNET_FLAG_SECURE flag. If this flag is provided, HttpSendRequest fails with error 87 ("Invalid Parameter").

It is still possible to submit the SSL-encrypted request by using the InternetOpenUrl API. To do so, this API must be used in the following fashion:

InternetOpenUrl (hReq, L"https://myserver/mypage.htm", ...)
No specific flags are necessary for the SSL request.

Please note the following limitations:
  • InternetOpenUrl can only send GET requests.


  • InternetOpenUrl ignores the query string part of the URL. Therefore, it is not possible to submit GET requests with parameters.


© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Leon Braginski, Microsoft Corporation


REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q168151 How to Make SSL Requests Using WinInet

Additional query words: kbDSupport

Keywords : kbWinCE200
Version : :2.0
Platform :
Issue type : kbinfo


Last Reviewed: January 11, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.