Hi everyone!
I am running an API Platform (Symfony 6, php 8.1) app using Docker on Windows 10.
In my php container, in the console, when I try :
curl https_url
I am getting the following error :
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
I am getting the similar exception inside my php code for the instruction:
file_get_contents(https_url);
I have also tried to pass additional arguments, for example:
$arrContextOptions = array(
"ssl" => array(
"verify_peer" => false,
"verify_peer_name" => false
),
);
file_get_contents('https_url', false, $arrContextOptions);
but I am still getting the same SSL error.
The error appears only on Windows OS (colleagues with Linux don’t have it).
Does anyone see how to fix it ?
Thanks!
Best Regards,
Marko