Delphi - certificate error in TWebBrowser, no errors in IE9

A few years ago, I wrote a Delphi application that opens an intranet site in TWebBrowser . The application works fine on Windows XP SP3, but on Windows 7 TWebBrowser shows a page with a red certificate in the IE8 style. Moreover, clicking "Continue on this site" does not open the page. Interestingly, when I open a page in either IE8 in Windows XP or IE9 in Windows 7, it opens successfully and browsers do not report a certificate error.

Is it possible to configure TWebBrowser or the application itself or Windows in such a way as to exclude a page with a certificate error?

I tried to run the application in administrator mode, using compatibility mode with and without Windows XP. I have installed a certificate page in every reasonable certificate store. I played with IE security settings and Internet Explorer FeatureControl settings in the registry. None of them helped.

+3
source share
1 answer

(I rewrote my answer after David Heffernan's comments.)

1. Bypass

" " " \\" TWebBrowser, , ( , ).

Certificate Revocation Checkbox

2. Windows XP 7

, Windows XP , Windows 7 . , - . Windows XP , .

3.

, IE , , . , Internet Explorer FEATURE_WARN_ON_SEC_CERT_REV_FAILED, IE , : "Internet Explorer , , ".

Certificate Issuer Unreachable

4. Silent Mode

, TWebBrowser Security Alert " . ?" , TWebBrowser.Silent True, "". " ", JavaScript , TWebBrowser .

Revocation Information Unavailable

5.

, , TWebBrowser.Silent False, ( " " "" ). ( , PascalScript), ( Confirm).

+4

All Articles