|
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
> 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:
>> 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.
>>
|
>
> 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.
>
>
>
>