Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTPS with WinInet

Status
Not open for further replies.

Nestor23

Programmer
Joined
Apr 4, 2003
Messages
7
Location
GB
Hi all,

I'm trying to establish SSL connection using WinInet in Visual C++. However I keep on getting "Invalid or Incorrect Certificate Authority" because I'm using unknown certificate (for testing purposes).

I use the following flags in the OpenRequest method: INTERNET_FLAG_IGNORE_CERT_DATE_INVALID and INTERNET_FLAG_IGNORE_CERT_CN_INVALID but i'm still getting the error message.

Could anyone please help me find a solution to this problem that has been bothering me for some time.

Cheers,
Nestor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top