Click here to get back home

SSL with WinINet

 HomeNewsGroups | Search

microsoft.public.smartphone.developer - Developing software for MS Smartphone? This is your group! 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SSL with WinINet AliR \(VC++ MVP\) 04-16-2008
  `--> Re: SSL with WinINet AliR \(VC++ MVP...04-16-2008
Posted by AliR \(VC++ MVP\) on April 16, 2008, 4:30 pm
Please log in for more thread options
Hi everyone,

I'm using WinINet to access data on a SSL page with an invalid certificate
from a SmartPhone 2003 device.
I'm expecting to get a ERROR_INTERNET_INVALID_CA error after calling
HttpSendRequest, but nothing, it returns TRUE, and nothing in GetLastError.

Does anyone have any suggestions on how to get HttpSendRequest to tell me
that the certificate is invalid.

Thanks
AliR.




Posted by dbgrick on April 16, 2008, 5:01 pm
Please log in for more thread options
What Flags are you passing in your HttpOpenRequest call? Ensure you are not
including INTERNET_FLAG_IGNORE_CERT_CN_INVALID.

Regards,
Rick D.

"AliR (VC++ MVP)" wrote:

show/hide quoted text

Posted by AliR \(VC++ MVP\) on April 16, 2008, 5:17 pm
Please log in for more thread options
Thanks Rick. I copied the code from codeguru and didn't pay attention to
the flags, I was passing it INTERNET_FLAG_IGNORE_CERT_CN_INVALID.

AliR.


show/hide quoted text



Similar ThreadsPosted
WinInet problem August 1, 2005, 1:44 am
Asynch wininet - Threaded or not? February 1, 2006, 9:51 am
Re: Asynch wininet - Threaded or not? February 2, 2006, 2:45 pm
Re: Get SEC_E_SECPKG_NOT_FOUND in WinINet until IE has been started March 10, 2005, 2:38 pm
Can wininet functions trigger CM to auto-establish a GPRS connecti June 11, 2005, 10:03 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy