After years of (peer) pressure, Embarcadero finally did some client-side [WayBack] HTTP Protocol Related Improvements in Delphi 10.2.2.
The fixes add some features to THTTPClient
that have been available in Indy since version 9 (which however requires 1.0.2 OpenSSL binaries support the required functionality):
We have added a new enumeration,
THTTPSecureProtocol
with the values (SSL2, SSL3, TLS1, TLS11, TLS12).THPPTClient
and related classes have now aSecureProtocols
property which is a set based on that enumeration.
References:
- [WayBack] System.Net.HttpClient.THTTPSecureProtocol – RAD Studio API Documentation
- [WayBack] System.Net.HttpClient.THTTPSecureProtocols – RAD Studio API Documentation
- [WayBack] System.Net.HttpClient.THTTPClient Properties – RAD Studio API Documentation does not include
SecureProtocols
(yet?) - RAD Studio/RSP-18713: Add a secure protocol options to THTTPClient (cannot be archived)
- RAD Studio/RSP-18104: THttpClient with TLS1.1 and TLS1.2 on older Windows systems (cannot be archived)
- [WayBack] Indy 9 with Delphi: How to enable TLS 1.0? – Stack Overflow
- [WayBack] Embarcadero Discussion Forums: Indy v10, TLS v1.2, and OpenSSL …
- [WayBack] delphi – Using Indy 10 IdHTTP with TLS 1.2 – Stack Overflow
- [WayBack] [SOLVED] Indy and SSL
- [WayBack] Indy 9
–jeroen