Patch Freezone to use TLS1.0

This commit is contained in:
fanyx 2022-06-26 16:01:39 +02:00
parent 1a97d14a1b
commit f442638e46
1 changed files with 5 additions and 0 deletions

View File

@ -149,6 +149,11 @@ class Client
// But the certificates of our api are self-signed for now // But the certificates of our api are self-signed for now
$options[CURLOPT_SSL_VERIFYHOST] = 0; $options[CURLOPT_SSL_VERIFYHOST] = 0;
$options[CURLOPT_SSL_VERIFYPEER] = 0; $options[CURLOPT_SSL_VERIFYPEER] = 0;
// Patch for ws.trackmania.com
// force use of TLS 1.0
$options[CURLOPT_SSLVERSION] = 4;
// Patch end
try try
{ {