Re: WinInet -- Disable SSL Checks for Invalid CA?
From: Duane (duane_butler_del_at_comcast.net)
Date: 09/18/05
- Previous message: lelteto: "RE: CryptGetUserKey fails with 8009000d"
- In reply to: Duane: "WinInet -- Disable SSL Checks for Invalid CA?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 18 Sep 2005 08:33:21 -0700
FYI,
I found what was causing the problem. Don't know why I didn't do this
before, but google for ERROR_INTERNET_INVALID_CA yielded the following
link:
"How To Handle Invalid Certificate Authority Error with WinInet"
http://support.microsoft.com/kb/q182888/
Included here in case anyone else runs into the problem.
Duane.
Duane wrote:
> Hi,
>
> For testing purposes, does anyone know how to disable validation of
> certificate authority within WinInet? I'm trying to connect to my own
> secure site (https) and HttpSendRequest() keeps returning an INVALID_CA
> (12045) error. I can't seem to find an approprate flag to pass into
> HttpOpenRequest() to ignore "invalid" CA's. InternetSetOption() does
> not seem to be the answer either. Overriding the WinInet user interface
> via IsDialogBoxHandled()appeared promising, but the function never gets
> called in this particular case. Anyone have any suggestions on how to
> do this?
>
> Thanks.
>
> Duane.
- Previous message: lelteto: "RE: CryptGetUserKey fails with 8009000d"
- In reply to: Duane: "WinInet -- Disable SSL Checks for Invalid CA?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]