From f442638e4624166a394e22bee802b6a31b2c9ce9 Mon Sep 17 00:00:00 2001 From: fanyx Date: Sun, 26 Jun 2022 16:01:39 +0200 Subject: [PATCH] Patch Freezone to use TLS1.0 --- freezone/plugins/freezone/fz-rest-client.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/freezone/plugins/freezone/fz-rest-client.php b/freezone/plugins/freezone/fz-rest-client.php index ca782ec..60e8f00 100644 --- a/freezone/plugins/freezone/fz-rest-client.php +++ b/freezone/plugins/freezone/fz-rest-client.php @@ -149,6 +149,11 @@ class Client // But the certificates of our api are self-signed for now $options[CURLOPT_SSL_VERIFYHOST] = 0; $options[CURLOPT_SSL_VERIFYPEER] = 0; + + // Patch for ws.trackmania.com + // force use of TLS 1.0 + $options[CURLOPT_SSLVERSION] = 4; + // Patch end try {