Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Transport Layer Security version for TWebBrowser


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Mar 8, 2018 1:25 AM Last Post By: Lajos Juhasz
Cornelia von Sc...

Posts: 7
Registered: 11/4/16
Transport Layer Security version for TWebBrowser  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 7, 2018 12:08 PM
We are currently using a TWebBrowser control to submit credit card information to a credit card processing company.
This company has just notified us that starting June 30 we will have to communicate with their gateway using TLS 1.1 or higher.
I have heard that TWebBrowser runs in IE7 (Internet Explorer 7) compatibility mode, so I was wondering if we are going to have an issue
or if all we need to worry about is that the machine running the code has the appropriate windows service pack and has TLS 1.1 or TLS 1.2 enabled.
I don't see anything related to TLS in the TWebBrowser methods/properties.
Or is there a way to modify the TWebBrowser compatibility mode.
Your help will be much appreciated.
Cornelia
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Transport Layer Security version for TWebBrowser  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 8, 2018 1:25 AM   in response to: Cornelia von Sc... in response to: Cornelia von Sc...
Cornelia von Schellwitz wrote:

We are currently using a TWebBrowser control to submit credit card
information to a credit card processing company. This company has
just notified us that starting June 30 we will have to communicate
with their gateway using TLS 1.1 or higher. I have heard that
TWebBrowser runs in IE7 (Internet Explorer 7) compatibility mode, so
I was wondering if we are going to have an issue or if all we need to
worry about is that the machine running the code has the appropriate
windows service pack and has TLS 1.1 or TLS 1.2 enabled. I don't see
anything related to TLS in the TWebBrowser methods/properties. Or is
there a way to modify the TWebBrowser compatibility mode. Your help
will be much appreciated. Cornelia

You can change the compatibility mode using the registry. For example a
google returned:
https://stackoverflow.com/questions/25843845/how-to-have-delphi-twebbrowser-component-running-in-ie9-mode


....
So, for example, if you wish to make the simplest possible change you
would add the following registry setting:
 
HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BROWSER_EMULATION
                     YourExeNameGoesHere.exe = (DWORD) 00009999
 
 
 
The documentation for the value 9999 says:
 
9999 Windows Internet Explorer 9. Webpages are displayed in IE9
Standards mode, regardless of the !DOCTYPE directive.
 
Were you to use 9000 then you'd need also to modify the DOCTYPE of your
document:
 
9000 Internet Explorer 9. Webpages containing standards-based !DOCTYPE
directives are displayed in IE9 mode. Default value for Internet
Explorer 9.
 
The linked documentation also includes the information required to
specify other IE versions.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02