(01-13-2024, 07:55 AM)BosseB Wrote:Code:20240111 17:13:36.590 EXCEPTION: In SendSvnMessage = Error connecting with SSL.
error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version
You are trying to connect using a TLS version that the server does not allow.
(01-13-2024, 07:55 AM)BosseB Wrote: The actual code where the sending is done looks like this:
You are not configuring any TLS versions on the TIdSSLIOHandlerSocketOpenSSL. By default, it uses only TLS 1.0 (see this ticket). The server has likely been updated to require TLS 1.1 or even TLS 1.2 now. So try adding this:
Code:
FSSLHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
FSSLHandler.SSLOptions.SSLVersions := [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2]; // <-- HERE
