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 {