Windows 7, EWinHttpClientException in TXDataClient

XData server as apache module not available to Windows 7 machines through TXDataClient. I have the following error:
EWinHttpClientException
Could not perform WinHttp operation. Error: (12175) Error in Server SSL Certificate SSL Library internal error. (80000000)
All windows 10 work without problems.

In the same server and WIndows 7 machines, using the TNetHTTPClient, they work without problem by setting:
SecureProtocols:=[THTTPSecureProtocol.TLS13,THTTPSecureProtocol.TLS12];

As I can see, you are not using TNetHTTPClient for TXDataClient
How can I overcome the above problem in windows 7 machines?
Thank you in advance

I found it. After setting Iservice

uses ....Sparkle.WinHttp.Engine, Sparkle.WinHttp.Api;
dwFlags:=WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2;
WinHttpCheck(WinHttpSetOption(TWinHttpEngine(Client.HttpClient.Engine).Session,
WINHTTP_OPTION_SECURE_PROTOCOLS, @dwFlags, SizeOf(dwFlags)));
1 Like

Correct. Here is a more complete answer for reference:

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.