Level 58
To solve this error, you need to add the following CURL option to your HTTP client request:
CURLOPT_SSL_OPTIONS => CURL_SSLVERSION_TLSv1_2
Here's an example of how to add this option using Laravel's HTTP client:
$response = Http::withOptions([
'curl' => [
CURLOPT_SSL_OPTIONS => CURL_SSLVERSION_TLSv1_2,
],
])->get('https://example.com');
This should resolve the SSL renegotiation error.
1 like